This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / signal / _short_time_fft / ShortTimeFFT / _post_padding

function

scipy.signal._short_time_fft:ShortTimeFFT._post_padding

source: build-install/usr/lib/python3.14/site-packages/scipy/signal/_short_time_fft.py:1696

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