This documentation is for development version 0.18.dev0.

mne.forward.restrict_forward_to_label

mne.forward.restrict_forward_to_label(fwd, labels)[source]

Restrict forward operator to labels.

Parameters:
fwd : Forward

Forward operator.

labels : instance of Label | list

Label object or list of label objects.

Returns:
fwd_out : dict

Restricted forward operator.