pick_channels(ch_names, include, exclude=, ordered=False)¶
Pick channels by names.
Returns the indices of
includebut not in
List of channels.
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
List of channels to exclude (if empty do not exclude any channel). Defaults to .
If true (default False), treat
includeas an ordered list rather than a set, and any channels from
includeare missing in
ch_namesan error will be raised.
New in version 0.18.