This documentation is for development version 0.18.dev0.

mne.forward.restrict_forward_to_stc

mne.forward.restrict_forward_to_stc(fwd, stc)[source]

Restrict forward operator to active sources in a source estimate.

Parameters:
fwd : instance of Forward

Forward operator.

stc : instance of SourceEstimate

Source estimate.

Returns:
fwd_out : instance of Forward

Restricted forward operator.