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
MPfit question [message #62623] Tue, 30 September 2008 07:38 Go to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Hi all,

I'm using the wonderfull mpfit routine from Craig Markwardt. Today I
was having problems with convergence and I was looking in the code
what caused it. I was using parameter limits and as far as I can tell,
the parameter incrementation is done like this:

xnew = x + alpha * dx

where dx are the parameter increments and alpha = 1, except when xnew
would exceed the limits, in which case alpha < 1. So if one parameter
is close to the limit, this effects the increments for all other
parameters. If alpha is too small, the fit stops.

Why isn't dx adapted, so that pegged parameters won't effect the
convergence for other parameters?

Wout
[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: Wed Oct 08 17:00:31 PDT 2025

Total time taken to generate the page: 0.00421 seconds