mne.minimum_norm.apply_inverse_epochs

mne.minimum_norm.apply_inverse_epochs(epochs, inverse_operator, lambda2, method=’dSPM’, label=None, nave=1, pick_ori=None, return_generator=False, prepared=False, verbose=None)[source]

Apply inverse operator to Epochs.

Parameters:

epochs : Epochs object

Single trial epochs.

inverse_operator : dict

Inverse operator returned from mne.read_inverse_operator, prepare_inverse_operator or make_inverse_operator.

lambda2 : float

The regularization parameter.

method : “MNE” | “dSPM” | “sLORETA”

Use mininum norm, dSPM or sLORETA.

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”

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.

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.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:

stc : list of SourceEstimate or VolSourceEstimate

The source estimates for all epochs.

See also

apply_inverse_raw
Apply inverse operator to raw object
apply_inverse
Apply inverse operator to evoked object