Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_senstype”.
FT_SENSTYPE determines the type of acquisition device by looking at the channel names and comparing them with predefined lists. Use as [type] = ft_senstype(sens) [flag] = ft_senstype(sens, desired) The output type can be any of the following 'ctf151' 'ctf151_planar' 'ctf275' 'ctf275_planar' 'bti148' 'bti148_planar' 'bti248' 'bti248_planar' 'itab153' 'itab153_planar' 'yokogawa9' 'yokogawa64' 'yokogawa64_planar' 'yokogawa160' 'yokogawa160_planar' 'yokogawa440' 'yokogawa440'_planar 'neuromag122' 'neuromag306' 'egi32' 'egi64' 'egi128' 'egi256' 'biosemi64' 'biosemi128' 'biosemi256' 'ext1020' 'plexon' 'electrode' 'magnetometer' 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' If you specify the desired type, this function will return a boolean true/false depending on the input data. Besides specifiying a sensor definition (i.e. a grad or elec structure, see FT_DATATYPE_SENS), it is also possible to give a data structure containing a grad or elec field, or giving a list of channel names (as cell-arrray). So assuming that you have a FieldTrip data structure, any of the following calls would also be fine. ft_senstype(hdr) ft_senstype(data) ft_senstype(data.label) ft_senstype(data.grad) ft_senstype(data.grad.label) See also FT_SENSLABEL, FT_CHANTYPE, FT_READ_SENS, FT_COMPUTE_LEADFIELD, FT_DATATYPE_SENS
Share this page: