mne.time_frequency.
psd_welch
(inst, fmin=0, fmax=inf, tmin=None, tmax=None, n_fft=256, n_overlap=0, n_per_seg=None, picks=None, proj=False, n_jobs=1, verbose=None)[source]¶Compute the power spectral density (PSD) using Welch’s method.
Calculates periodigrams for a sliding window over the time dimension, then averages them together for each channel/epoch.
Parameters: | inst : instance of Epochs or Raw or Evoked
fmin : float
fmax : float
tmin : float | None
tmax : float | None
n_fft : int
n_overlap : int
n_per_seg : int | None
picks : array-like of int | None
proj : bool
n_jobs : int
verbose : bool, str, int, or None
|
---|---|
Returns: | psds : ndarray, shape (…, n_freqs)
freqs : ndarray, shape (n_freqs,)
|
Notes
New in version 0.12.0.