This documentation is for development version 0.18.dev0.


mne.pick_channels(ch_names, include, exclude=[])[source]

Pick channels by names.

Returns the indices of the good channels in ch_names.

ch_names : list of string

List of channels.

include : list of string

List of channels to include (if empty include all available).


This is to be treated as a set. The order of this list is not used or maintained in sel.

exclude : list of string

List of channels to exclude (if empty do not exclude any channel). Defaults to [].

sel : array of int

Indices of good channels.