mne.pick_channels_forward(orig, include=[], exclude=[], verbose=None)[source]

Pick channels from forward operator.

orig : dict

A forward solution.

include : list of string

List of channels to include (if empty, include all available). Defaults to [].

exclude : list of string | ‘bads’

Channels to exclude (if empty, do not exclude any). Defaults to []. If ‘bads’, then exclude bad channels in orig.

verbose : bool, str, int, or None

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

res : dict

Forward solution restricted to selected channels. If include and exclude are empty it returns orig without copy.