[SciPy-User] Fitting Gaussian in spectra

Daπid davidmenhur@gmail....
Sun Sep 30 13:02:44 CDT 2012


On Sat, Sep 29, 2012 at 5:28 PM, Kevin Gullikson
<kevin.gullikson@gmail.com> wrote:
> That solution may not be the best for you if you have a very large array
> though, because deleting indices from a numpy array is inefficient.

Alternatively, you could use a masked array, and just mask out the
peaks. No deletion needed.

What polynomial order do you use?


More information about the SciPy-User mailing list