- mne.time_frequency.psd_array_multitaper(x, sfreq, fmin=0, fmax=inf, bandwidth=None, adaptive=False, low_bias=True, normalization='length', output='power', n_jobs=1, verbose=None)#
Compute power spectral density (PSD) using a multi-taper method.
array, shape=(…, n_times)
The data to compute PSD from.
The sampling frequency.
The lower frequency of interest.
The upper frequency of interest.
The bandwidth of the multi taper windowing function in Hz.
Use adaptive weights to combine the tapered spectra into PSD (slow, use n_jobs >> 1 to speed up computation).
Only use tapers with more than 90% spectral concentration within bandwidth.
- normalization‘full’ | ‘length’
Normalization strategy. If “full”, the PSD will be normalized by the sampling rate as well as the length of the signal (as in Nitime). Default is
The format of the returned
psdsarray. Can be either
'power', the power spectral density is returned. If
output='complex', the complex fourier coefficients are returned per taper.
The number of jobs to run in parallel (default
-1, it is set to the number of CPU cores. Requires the
- verbosebool |
ndarray, shape (…, n_freqs) or (…, n_tapers, n_freqs)
The power spectral densities. All dimensions up to the last (or the last two if
output='complex') will be the same as input.
The frequency points in Hz of the PSD.
The weights used for averaging across tapers. Only returned if
New in version 0.14.0.