[SciPy-Dev] New modules for important tasks (that are missing in SciPy)
Pauli Virtanen
pav at iki.fi
Fri Feb 18 07:19:08 EST 2011
Fri, 18 Feb 2011 11:21:09 +0100, Filip Dominec wrote:
> recently I was wondering if I could use SciPy for basic spectral data
> processing. I needed just to subtract linear background, determine the
> peaks and calculate their intensity and width. I was puzzled that there
> are probably no readily available functions in Scipy nor Numpy to do
> this task in a moment.
Thanks. Some comments:
- The peak handling routines seems pretty specialized for a specific use
case, and do not probably work with other kinds of data, which explains
why they are not in Scipy.
- numpy.trapz = trapezoid method
> Therefore, I have written a tiny module containing these essential
> functions and published it as "dataproc.py" in the "Python modules"
> section at: http://fzu.cz/~dominecf/index.html
Check the permissions for "simplex.py", it currently says "403 Access
denied"
[clip]
> Another important feature is the simplex optimisation, which I need to
> use now and then in the interactive console. This requires the syntax to
> be as simple as possible. Maybe the "simplex.py" module should be
> incorporated into SciPy, too.
scipy.optimize.fmin implements the Nelder-Mead algorithm.
More information about the SciPy-Dev
mailing list