mne.forward.restrict_forward_to_stc#
- mne.forward.restrict_forward_to_stc(fwd, stc, on_missing='ignore')[source]#
Restrict forward operator to active sources in a source estimate.
- Parameters
- fwdinstance of
Forward Forward operator.
- stcinstance of
SourceEstimate Source estimate.
- on_missing‘raise’ | ‘warn’ | ‘ignore’
Can be
'raise'(default) to raise an error,'warn'to emit a warning, or'ignore'to ignore whenstchas vertices that are not infwd. Default is “ignore”.New in version 0.18.
- fwdinstance of
- Returns
- fwd_outinstance of
Forward Restricted forward operator.
- fwd_outinstance of
See also