Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « ShortTimeFFT »

Méthode scipy.signal.ShortTimeFFT.scale_to

Signature de la méthode scale_to

def scale_to(self, scaling: Literal['magnitude', 'psd']) 

Description

help(ShortTimeFFT.scale_to)

Scale window to obtain 'magnitude' or 'psd' scaling for the STFT.

The window of a 'magnitude' spectrum has an integral of one, i.e., unit
area for non-negative windows. This ensures that absolute the values of
spectrum does not change if the length of the window changes (given
the input signal is stationary).

To represent the power spectral density ('psd') for varying length
windows the area of the absolute square of the window needs to be
unity.

The `scaling` property shows the current scaling. The properties
`fac_magnitude` and `fac_psd` show the scaling factors required to
scale the STFT values to a magnitude or a psd spectrum.

This method is called, if the initializer parameter `scale_to` is set.

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
scaling: Normalization applied to the window function.
ShortTimeFFT: Class this method belongs to.


Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé