- mne.channels.make_1020_channel_selections(info, midline='z')¶
Return dict mapping from ROI names to lists of picks for 10/20 setups.
This passes through all channel names, and uses a simple heuristic to separate channel names into three Region of Interest-based selections: Left, Midline and Right. The heuristic is that channels ending on any of the characters in
midlineare filed under that heading, otherwise those ending in odd numbers under “Left”, those in even numbers under “Right”. Other channels are ignored. This is appropriate for 10/20 files, but not for other channel naming conventions. If an info object is provided, lists are sorted from posterior to anterior.
mne.Infoobject with information about the sensors and methods of measurement. If possible, the channel lists will be sorted posterior-to-anterior; otherwise they default to the order specified in
Names ending in any of these characters are stored under the
Midlinekey. Defaults to ‘z’. Note that capitalization is ignored.
A dictionary mapping from ROI names to lists of picks (integers).