bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / signal / _peak_finding / _select_by_peak_threshold
function
scipy.signal._peak_finding:_select_by_peak_threshold
source: build-install/usr/lib/python3.14/site-packages/scipy/signal/_peak_finding.py:684
Signature
def _select_by_peak_threshold(x, peaks, tmin, tmax)Summary
Evaluate which peaks fulfill the threshold condition.
Parameters
x: ndarrayA 1-D array which is indexable by
peaks.peaks: ndarrayIndices of peaks in
x.tmin, tmax: scalar or ndarray or NoneMinimal and / or maximal required thresholds. If supplied as ndarrays their size must match
peaks.Noneis interpreted as an open border.
Returns
keep: boolA boolean mask evaluating to true where
peaksfulfill the threshold condition.left_thresholds, right_thresholds: ndarrayArray matching
peakcontaining the thresholds of each peak on both sides.
Notes
Aliases
scipy.signal._peak_finding._select_by_peak_threshold