metabci.brainda.utils.channels module¶
- metabci.brainda.utils.channels.pick_channels(ch_names: List[str], pick_chs: List[str], ordered: bool = True, match_case: str | bool = 'auto') List[int][source]¶
Wrapper of mne.pick_channels with match_case option.
- Parameters:
ch_names (List[str]) – all channel names
pick_chs (List[str]) – channel names to pick
ordered (bool, optional) – if Ture, return picked channels in pick_chs order, by default True
match_case (str, optional) – if True, pick channels in strict mode, by default ‘auto’
- Returns:
indices of picked channels
- Return type:
List[int]