Compute source power spectral density (PSD) from Epochs.
This uses the multi-taper method to compute the PSD for each epoch.
Epochs
The raw data.
InverseOperator
The inverse operator.
float
The regularization parameter.
Use minimum norm, dSPM (default), sLORETA, or eLORETA.
float
The lower frequency of interest.
float
The upper frequency of interest.
None
| “normal”If “normal”, rather than pooling the orientations by taking the norm, only the radial component is kept. This is only implemented when working with loose orientations.
Label
Restricts the source estimates to a given label.
int
The number of averages used to scale the noise covariance matrix.
If True, the true dimension of data is estimated before running the time-frequency transforms. It reduces the computation times e.g. with a dataset that was maxfiltered (true dim is 64).
int
or None
Split inverse operator into inv_split parts in order to save memory.
float
| str
The bandwidth of the multi taper windowing function in Hz. Can also be a string (e.g., ‘hann’) to use a single window.
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.
Return a generator object instead of a list. This allows iterating over the stcs without having to keep them all in memory.
int
| None
The number of jobs to run in parallel. If -1
, it is set
to the number of CPU cores. Requires the joblib
package.
None
(default) is a marker for ‘unset’ that will be interpreted
as n_jobs=1
(sequential execution) unless the call is performed under
a joblib.parallel_backend()
context manager that sets another
value for n_jobs
.
It is only used if adaptive=True.
If True, do not call prepare_inverse_operator()
.
dict
| None
Additional options for eLORETA. See Notes of apply_inverse()
.
New in version 0.16.
If True, also return the sensor PSD for each epoch as an EvokedArray.
New in version 0.17.
Whether to use cortical patch statistics to define normal orientations for surfaces (default True).
Only used when the inverse is free orientation (loose=1.
),
not in surface orientation, and pick_ori='normal'
.
New in version 0.20.
str
| int
| None
Control verbosity of the logging output. If None
, use the default
verbosity level. See the logging documentation and
mne.verbose()
for details. Should only be passed as a keyword
argument.
See also
mne.minimum_norm.compute_source_psd_epochs
#Compute Power Spectral Density of inverse solution from single epochs