mne.channels.make_1020_channel_selections#

mne.channels.make_1020_channel_selections(info, midline='z')[source]#

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 midline are 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.

Parameters:
infomne.Info

The mne.Info object 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 info["ch_names"].

midlinestr

Names ending in any of these characters are stored under the Midline key. Defaults to ‘z’. Note that capitalization is ignored.

Returns:
selectionsdict

A dictionary mapping from ROI names to lists of picks (integers).

Examples using mne.channels.make_1020_channel_selections#

Visualising statistical significance thresholds on EEG data

Visualising statistical significance thresholds on EEG data

Plot single trial activity, grouped by ROI and sorted by RT

Plot single trial activity, grouped by ROI and sorted by RT