mne.channel_type

mne.channel_type(info, idx)[source]

Get channel type.

Parameters
infoinstance of Info

A measurement info object.

idxint

Index of channel.

Returns
typestr

Type of channel. Will be one of:

{'grad', 'mag', 'eeg', 'csd', 'stim', 'eog', 'emg', 'ecg',
 'ref_meg', 'resp', 'exci', 'ias', 'syst', 'misc', 'seeg', 'bio',
 'chpi', 'dipole', 'gof', 'ecog', 'hbo', 'hbr'}

Examples using mne.channel_type