mne.read_selection

mne.read_selection(name, fname=None, info=None, verbose=None)[source]

Warning

DEPRECATED: read_selection has been deprecated in favor of read_vectorview_selection and will be removed in 0.24.

Read Neuromag Vector View channel selection from a file.

Parameters
namestr | list of str

Name of the selection. If a list, the selections are combined. Supported selections are: 'Vertex', 'Left-temporal', 'Right-temporal', 'Left-parietal', 'Right-parietal', 'Left-occipital', 'Right-occipital', 'Left-frontal' and 'Right-frontal'. Selections can also be matched and combined by spcecifying common substrings. For example, name='temporal will produce a combination of 'Left-temporal' and 'Right-temporal'.

fnamestr

Filename of the selection file (if None, built-in selections are used).

infoinstance of Info

Measurement info file, which will be used to determine the spacing of channel names to return, e.g. 'MEG 0111' for old Neuromag systems and 'MEG0111' for new ones.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Returns
sellist of str

List with channel names in the selection.