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
list
ofstr
List of channels to include (if empty, include all available). Defaults to [].
- exclude
list
ofstr
| ‘bads’ Channels to exclude (if empty, do not exclude any). Defaults to []. If ‘bads’, then exclude bad channels in orig.
- orderedbool
If true (default False), treat
include
as an ordered list rather than a set.New in version 0.18.
- copybool
If True (default), make a copy.
New in version 0.19.
- verbosebool,
str
,int
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more). If used, it should be passed as a keyword-argument only.
- orig
- Returns
- res
dict
Forward solution restricted to selected channels. If include and exclude are empty it returns orig without copy.
- res