scipy.signal.argrelextrema

scipy.signal.argrelextrema(data, comparator, axis=0, order=1, mode='clip')[source]

Calculate the relative extrema of data

Returns :

extrema: ndarray :

Indices of the extrema, as an array of integers (same format as argmin, argmax

See also

argrelmin, argrelmax

Previous topic

scipy.signal.argrelmax

Next topic

Sparse matrices (scipy.sparse)