{ } Raw JSON

bundles / scipy latest / scipy / signal / _short_time_fft / ShortTimeFFT / _post_padding

function

scipy.signal._short_time_fft:ShortTimeFFT._post_padding

source: /scipy/signal/_short_time_fft.py :1685

Signature

def   _post_padding ( self n : int )  →  tuple[int, int]

Summary

Largest signal index and slice index due to padding.

Parameters

n : int

Number 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