[SciPy-User] Fitting Gaussian in spectra

Jerome Kieffer Jerome.Kieffer at esrf.fr
Sun Sep 30 04:54:05 EDT 2012


On Sat, 29 Sep 2012 00:15:21 +0530
Joe Philip Ninan <indiajoe at 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