Markwardt IDL Page

What's New

Programs
   Curve Fitting
   Fitting Tutorial
   Introspection
   Save Files
   Array/Set
   Printing
   Graphics
   Mathematics
   Ephemeris/Timing
   Input/Output
   Miscellaneous
   Full Listing
   Documentation

Google

Markwardt IDL Pages
Entire Web

Craig's techie blog.

Home Page of Craig Markwardt



 


Choosing between MPFIT functions




MPFITFUN (1D)/ MPFIT2DFUN (2D)
Required?
YES
No
No
How does it work?
User passes an IDL function which computes "data minus model" residuals.
User passes the data, and an IDL function which computes the model.
User passes the data, and a string containing an IDL expression which computes the model.
Easy to Use? No
Yes
Yes
Must compile separate IDL function?
Yes
Yes
No
Speed
Fastest
Faster
Fast
Control over fitting process
Most
Some
Some
Meant to be used interactively?
No
Yes
Yes
Parameter bounds and "freezing"?
Yes
Yes
Yes


Copyright © 1997-2010 Craig B. Markwardt
Last Modified on 2017-01-03 13:57:29 by Craig Markwardt