comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Notes on CURVEFIT.PRO
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Notes on CURVEFIT.PRO [message #569 is a reply to message #568] Tue, 06 October 1992 09:42 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
In article <5OCT199223161224@stars.gsfc.nasa.gov>, landsman@stars.gsfc.nasa.gov (Wayne Landsman (301)-286-3625) writes...
>
> The version of CURVEFIT.PRO in the IDL User's library in V2.3.2 (and
> presumably in earlier versions) contains a typo in line 133
>
>
> FLAMBDA = FLAMBDA/100. ;DECREASE FLAMBDA BY FACTOR OF 10
>
> According to the versions of this procedure in both Bevington and "Numerical
> Recipes" the comment (and not the code) is correct, i.e. the denominator should
> be 10. and not 100.

Oops, I was mistaken -- the code is correct. In the IDL implementation,
the fit is assumed to get worse so FLAMBDA is multiplied by 10 on every
iteration. When chi square does decrease one then needs to divide by 100.

Sorry about the fire drill, and thanks to Mark Elliott for pointing out
my error.

-Wayne Landsman landsman@stars.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Previous Topic: Notes on CURVEFIT.PRO
Next Topic: Using cpp with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:36:11 PDT 2025

Total time taken to generate the page: 0.00476 seconds