[SciPy-user] Extrema finding
Thu Oct 9 07:06:06 CDT 2008
> I am trying to find a list of all maxima and minima, each for a given
> (1D) numpy array. Anyone know of a quick way to do it?
> Ideally the function will return the extrema values and their
> positions. Relatively simple function to implement in Python, but that
> would be painfully slow. The typical data array I am looking at, has
> approximately 500k elements of double precision float.
> Any thoughts and suggestions are much appreciated. Thanks!
I have code for that in c++, which can be used with pyublas and boost::python. :)
More information about the SciPy-user