{ } Raw JSON

bundles / scipy 1.17.1 / scipy / signal / _peak_finding / _select_by_property

function

scipy.signal._peak_finding:_select_by_property

source: /scipy/signal/_peak_finding.py :646

Signature

def   _select_by_property ( peak_properties pmin pmax )

Summary

Evaluate where the generic property of peaks confirms to an interval.

Parameters

peak_properties : ndarray

An array with properties for each peak.

pmin : None or number or ndarray

Lower interval boundary for peak_properties. None is interpreted as an open border.

pmax : None or number or ndarray

Upper interval boundary for peak_properties. None is interpreted as an open border.

Returns

keep : bool

A boolean mask evaluating to true where peak_properties confirms to the interval.

Notes

See also

find_peaks

Aliases

  • scipy.signal._peak_finding._select_by_property