pyhctsa.operations.spectral.spectral_summaries¶
-
pyhctsa.operations.spectral.spectral_summaries(y, psd_meth=
'fft', window_type='none')¶ Statistics of the power spectrum of a time series.
Computes a range of statistics summarizing the power spectrum of a time series. The spectrum can be estimated using a periodogram, fast Fourier transform (FFT), or Welch’s method.
- Parameters:¶
- y : array-like¶
The input time series.
- psd_meth : {'periodogram', 'fft', 'welch'}, optional¶
The method for obtaining the spectrum from the signal:
’periodogram’: periodogram
’fft’: fast Fourier transform (default)
’welch’: Welch’s method
- window_type : {'boxcar', 'rect', 'bartlett', 'hann', 'hamming', 'none'}, optional¶
The window to use for spectral estimation:
’boxcar’
’rect’
’bartlett’
’hann’
’hamming’
’none’ (default)
- Returns:¶
Statistics summarizing various properties of the spectrum.
- Return type:¶
dict