[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spline Fitting and FWHM
Martin Schultz <martin.schultz@dkrz.de> writes:
...
> the data. For this you should probably use CM_FIT by Craig Markwardt.
...
I agree with everything Martin said, *except* that it's named MPFIT,
and it's located here :-)
http://cow.physics.wisc.edu/~craigm/idl/idl.html
There are some specialized peak-fitting procedures ready to use there.
Also, if you still insist on using splines, then I suggest you use the
SPL_INIT and SPL_INTERP (sp?) functions. They seem to be much faster
and more robust.
Good luck,
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------