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 : label object | list

Label object or list of label objects.

Returns:

fwd_out : dict

Restricted forward operator.