scipy.signal.ShortTimeFFT.

scipy.signal.ShortTimeFFT.scaling#

property ShortTimeFFT.scaling#

Normalization applied to the window function (‘magnitude’, ‘psd’, ‘unitary’, or None).

If not None, the FFT slices may be either interpreted as a magnitude or a power spectral density spectrum (psd). If set to unitary, the STFT may be interpreted as a unitary mapping, i.e., preserving the value of the scalar product.

The window function can be scaled by calling the scale_to method, or it is set by the initializer parameter scale_to. Note that a window cannot to be scaled to be unitary. Use from_win_equals_dual to create a unitary ShortTimeFFT instance.

See also

fac_magnitude

Scaling factor for to a magnitude spectrum.

fac_psd

Scaling factor for to a power spectral density spectrum.

fft_mode

Mode of utilized FFT

scale_to

Scale window to obtain ‘magnitude’ or ‘psd’ scaling.

from_win_equals_dual

Class-method for creating a unitary instance.

ShortTimeFFT

Class this property belongs to.