Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help senstype”.
SENSTYPE determines the type of sensors by looking at the channel names
and comparing them with predefined lists.
Use as
[type] = senstype(sens)
to get a string describing the type, or
[flag] = senstype(sens, desired)
to get a boolean value.
The output type can be any of the following
'electrode'
'magnetometer'
'biosemi64'
'biosemi128'
'biosemi256'
'bti148'
'bti148_planar'
'bti248'
'bti248_planar'
'ctf151'
'ctf151_planar'
'ctf275'
'ctf275_planar'
'egi128'
'egi256'
'egi32'
'egi64'
'ext1020'
'neuromag122'
'neuromag306'
'yokogawa160'
'yokogawa160_planar'
'plexon'
'itab153'
'itab153_planar'
The optional input argument for the desired type can be any of the above,
or any of the following
'eeg'
'meg'
'meg_planar'
'meg_axial'
'ctf'
'bti'
'neuromag'
'yokogawa'
Besides specifiying a grad or elec structure as input, also allowed is
giving a data structure containing a grad or elec field, or giving a list
of channel names (as cell-arrray). I.e. assuming a FieldTrip data
structure, all of the following calls would be correct.
senstype(data)
senstype(data.label)
senstype(data.grad)
senstype(data.grad.label)
See also SENSLABEL, CHANTYPE, READ_SENS, COMPUTE_LEADFIELD