bundles / scipy 1.18.0 / scipy / signal / _short_time_fft / ShortTimeFFT / _post_padding
function
scipy.signal._short_time_fft:ShortTimeFFT._post_padding
Signature
def _post_padding(self, n: int) → tuple[int, int]Summary
Largest signal index and slice index due to padding.
Parameters
n: intNumber of samples of input signal (must be ≥ half of the window length).
Notes
Note that the return values are cached together with the parameter n to avoid unnecessary recalculations.
Aliases
scipy.signal.ShortTimeFFT._post_padding