p_max — SciPy v1.15.3 Manual (original) (raw)
scipy.signal.ShortTimeFFT.
ShortTimeFFT.p_max(n)[source]#
Index of first non-overlapping upper time slice for n sample input.
Note that center point t[p_max] = (p_max(n)-1) * delta_t is typically larger than last time index t[n-1] == (_n_-1) * T. The upper border of samples indexes covered by the window slices is given by k_max. Furthermore, p_max does not denote the number of slices p_num sincep_min is typically less than zero. A detailed example is provided in the Sliding Windowssection of the SciPy User Guide.
See also
The smallest possible signal index.
First sample index after signal end not touched by a time slice.
The smallest possible slice index.
Number of time slices, i.e., p_max - p_min.
Determine and validate slice index range.
Class this method belongs to.