11-04-2005 03:35 PM
11-04-2005 03:53 PM
11-04-2005 04:10 PM
Also have a look at my 1DFit example posted long ago in this thread. It interactively fits either a Gaussian or a Lorenzian curve. (I use a heavily modified version of Lev-Mar).
The initial estimates for position and amplitude are taken from the array max, but even if you set them manually, it finds the solution unless the width is very narrow and the position is way off.
11-07-2005 11:19 AM
11-08-2005 09:08 AM
11-08-2005 11:25 AM