mne.beamformer.apply_lcmv_epochs

mne.beamformer.apply_lcmv_epochs(epochs, filters, max_ori_out='abs', return_generator=False, verbose=None)[source]

Apply Linearly Constrained Minimum Variance (LCMV) beamformer weights.

Apply Linearly Constrained Minimum Variance (LCMV) beamformer weights on single trial data.

Parameters:

epochs : Epochs

Single trial epochs.

filters : dict

LCMV spatial filter (beamformer weights) Filter weights returned from make_lcmv.

max_ori_out: ‘abs’ | ‘signed’

Specify in case of pick_ori=’max-power’. If ‘abs’, the absolute value of the source space time series will be returned, if ‘signed’, the signed source space time series will be returned. ‘abs’ is deprecated and will be removed in 0.16. Set max_ori_out to ‘signed’ to remove this warning.

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.

verbose : bool, str, int, or None

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

Returns:

stc: list | generator of (SourceEstimate | VolSourceEstimate)

The source estimates for all epochs.