scipy.signal.ShortTimeFFT.
p_num#
- ShortTimeFFT.p_num(n)[source]#
Number of time slices for an input signal with n samples.
It is given by
p_num=p_max-p_minwithp_mintypically being negative. A detailed example is provided in the Sliding Windows section of the SciPy User Guide.See also
k_minThe smallest possible signal index.
k_maxFirst sample index after signal end not touched by a time slice.
lower_border_endWhere pre-padding effects end.
p_minThe smallest possible slice index.
p_maxIndex of first non-overlapping upper time slice.
p_rangeDetermine and validate slice index range.
upper_border_beginWhere post-padding effects start.
ShortTimeFFTClass this method belongs to.