mne.pick_channels_forward#
- mne.pick_channels_forward(orig, include=[], exclude=[], ordered=False, copy=True, verbose=None)[source]#
Pick channels from forward operator.
- Parameters:
- orig
dict A forward solution.
- include
listofstr List of channels to include (if empty, include all available). Defaults to [].
- exclude
listofstr| ‘bads’ Channels to exclude (if empty, do not exclude any). Defaults to []. If ‘bads’, then exclude bad channels in orig.
- ordered
bool If true (default False), treat
includeas an ordered list rather than a set.New in version 0.18.
- copy
bool If True (default), make a copy.
New in version 0.19.
- verbose
bool|str|int|None Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- orig
- Returns:
- res
dict Forward solution restricted to selected channels. If include and exclude are empty it returns orig without copy.
- res