scipy.signal.ShortTimeFFT.
p_max#
- 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_tis 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_maxdoes not denote the number of slices- p_numsince- p_minis typically less than zero. A detailed example is provided in the Sliding Windows section of the SciPy User Guide.