bundles / scipy latest / scipy / signal / _short_time_fft / ShortTimeFFT / p_num
function
scipy.signal._short_time_fft:ShortTimeFFT.p_num
Signature
def p_num ( self , n : int ) → int Summary
Number of time slices for an input signal with n samples.
Extended Summary
It is given by p_num = p_max - p_min with p_min typically being negative. A detailed example is provided in the tutorial_stft_sliding_win section of the user_guide.
See also
- ShortTimeFFT
Class this method belongs to.
- k_max
First sample index after signal end not touched by a time slice.
- k_min
The smallest possible signal index.
- lower_border_end
Where pre-padding effects end.
- p_max
Index of first non-overlapping upper time slice.
- p_min
The smallest possible slice index.
- p_range
Determine and validate slice index range.
- upper_border_begin
Where post-padding effects start.
Aliases
-
scipy.signal.ShortTimeFFT.p_num