[SciPy-User] Fitting Gaussian in spectra

Jerome Kieffer Jerome.Kieffer@esrf...
Sun Sep 30 03:54:05 CDT 2012


On Sat, 29 Sep 2012 00:15:21 +0530
Joe Philip Ninan <indiajoe@gmail.com> wrote:

> 1) fit the continuum and subtract it.
> Or is there any other module in python/scipy which i should give a try?
> Thanking you.

Iteratively apply a Savitsky-Golay filter with a large width(>10) and a low order (2).
at the begining you will only smear out the noise then start removing peaks.

SG filter are really fast to apply.

-- 
Jérôme Kieffer
Data analysis unit - ESRF


More information about the SciPy-User mailing list