mne.channel_type

mne.channel_type(info, idx)[source]

Get channel type.

Parameters
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

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', 'dbs',
  'bio', 'chpi', 'dipole', 'gof', 'ecog', 'hbo', 'hbr'}

Examples using mne.channel_type