[SciPy-user] mpfit

Steve Schmerler elcorto at gmx.net
Sat Aug 28 04:23:53 CDT 2004


Hi all

If someone happens to use Mark Rivers' mpfit
(http://cars.uchicago.edu/software) for (constrained) Levenberg-Marquardt
fitting instead of scipy.optimize.leastsq (both are based on MINPACK) there
is a bug regarding 'mpmaxstep' (set the max iteration step length):

around line 930 it reads

    wh = Numeric.nonzero((qmin!=0.) & (qmax!=0.))       

but should rather be something like

    wh = Numeric.nonzero((qmax!=0.))

Maybe this helps someone to save a _lot_ of time wondering why nothing
happens :)

bye
steve

-- 
If you can't beat your computer at chess, try kickboxing.
--

Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl



More information about the SciPy-user mailing list