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

Home » Public Forums » archive » MPfit question
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: MPfit question [message #62731 is a reply to message #62623] Thu, 02 October 2008 08:59 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Wox <nomail@hotmail.com> writes:
>
> Ah yes, I see now. Thanks for your comments. I must say it's quite an
> impressive and complicated piece of code. I'm having a hard time
> understanding the convergence criteria and the calculation of the
> LM-step. Can you recommend some reference where I can find more
> details? I sure have some books explaining NLLS-refinement but they
> don't seem to mention some of the criteria I see in your code. Also
> the calculation of the LM-step is done differently each time I open a
> new book :-).

Hi, the code is based on MINPACK-1, so the convergence criteria come
from that library. The references section of mpfit.pro contains two
citations by one of the primary authors of MINPACK. Unfortunately
they are hard to find. :-(

I am suspecting that for your problem, MPFIT is claiming the problem
converged when it didn't, if the "actual" change in chi^2 is much
smaller than "predicted". The only real way I can see this happening
is if you started a parameter *very close* to a boundary but not
exactly on the boundary. The fix for that should be obvious.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: cbmarkwardt+usenet@gmail.com
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trouble writing very large files
Next Topic: Recording batch commands

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

Current Time: Sun Oct 12 01:28:24 PDT 2025

Total time taken to generate the page: 0.56139 seconds