mne.pick_channels#
- mne.pick_channels(ch_names, include, exclude=[], ordered=False)[source]#
Pick channels by names.
Returns the indices of
ch_names
ininclude
but not inexclude
.- Parameters
- ch_names
list
ofstr
List of channels.
- include
list
ofstr
List of channels to include (if empty include all available).
Note
This is to be treated as a set. The order of this list is not used or maintained in
sel
.- exclude
list
ofstr
List of channels to exclude (if empty do not exclude any channel). Defaults to [].
- orderedbool
If true (default False), treat
include
as an ordered list rather than a set, and any channels frominclude
are missing inch_names
an error will be raised.New in version 0.18.
- ch_names
- Returns
See also
Examples using mne.pick_channels
#
The Info data structure
EEG processing and Event Related Potentials (ERPs)
EEG processing and Event Related Potentials (ERPs)
DICS for power mapping
Show EOG artifact timing
Shifting time-scale in evoked data
Shifting time-scale in evoked data
Permutation T-test on sensor data
Permutation T-test on sensor data