bundles / scipy 1.17.1 / scipy / signal / _peak_finding / _arg_peaks_as_expected
function
scipy.signal._peak_finding:_arg_peaks_as_expected
Signature
def _arg_peaks_as_expected ( value ) Summary
Ensure argument peaks is a 1-D C-contiguous array of dtype('intp').
Extended Summary
Used in peak_prominences and peak_widths to make peaks compatible with the signature of the wrapped Cython functions.
Returns
value: ndarrayA 1-D C-contiguous array with dtype('intp').
Aliases
-
scipy.signal._peak_finding._arg_peaks_as_expected