mne.minimum_norm.apply_inverse_tfr_epochs#
- mne.minimum_norm.apply_inverse_tfr_epochs(epochs_tfr, inverse_operator, lambda2, method='dSPM', label=None, nave=1, pick_ori=None, return_generator=False, prepared=False, method_params=None, use_cps=True, verbose=None)[source]#
Apply inverse operator to EpochsTFR.
- Parameters:
- epochs_tfr
EpochsTFR
object Single trial, phase-amplitude (complex-valued), time-frequency epochs.
- inverse_operator
list
ofdict
|dict
The inverse operator for each frequency or a single inverse operator to use for all frequencies.
- lambda2
float
The regularization parameter.
- method“MNE” | “dSPM” | “sLORETA” | “eLORETA”
Use minimum norm, dSPM (default), sLORETA, or eLORETA.
- label
Label
|None
Restricts the source estimates to a given label. If None, source estimates will be computed for the entire source space.
- nave
int
Number of averages used to regularize the solution. Set to 1 on single Epoch by default.
- pick_ori
None
| “normal” | “vector” Options:
None
Pooling is performed by taking the norm of loose/free orientations. In case of a fixed source space no norm is computed leading to signed source activity.
"normal"
Only the normal to the cortical surface is kept. This is only implemented when working with loose orientations.
"vector"
No pooling of the orientations is done, and the vector result will be returned in the form of a
mne.VectorSourceEstimate
object.
- return_generator
bool
Return a generator object instead of a list. This allows iterating over the stcs without having to keep them all in memory.
- prepared
bool
If True, do not call
prepare_inverse_operator()
.- method_params
dict
|None
Additional options for eLORETA. See Notes of
apply_inverse()
.- use_cps
bool
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, andpick_ori='normal'
.- verbose
bool
|str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- epochs_tfr
- Returns:
- stcs
list
oflist
of (SourceEstimate
|VectorSourceEstimate
|VolSourceEstimate
) The source estimates for all frequencies (outside list) and for all epochs (inside list).
- stcs
See also
apply_inverse_raw
Apply inverse operator to raw object.
apply_inverse
Apply inverse operator to evoked object.
apply_inverse_epochs
Apply inverse operator to epochs object.
apply_inverse_cov
Apply inverse operator to a covariance object.