Home > vbmeg > functions > tool_box > neuromag > neuromag_get_sensor_kind.m

neuromag_get_sensor_kind

PURPOSE ^

SYNOPSIS ^

function kind = neuromag_get_sensor_kind(coil_type)

DESCRIPTION ^

 kind : sensor kind : = 0 : magnetometer
                      = 1 : planar gradiometer
                      = 2 : axial gradiometer

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function kind = neuromag_get_sensor_kind(coil_type)
0002 %
0003 % kind : sensor kind : = 0 : magnetometer
0004 %                      = 1 : planar gradiometer
0005 %                      = 2 : axial gradiometer
0006 %
0007 
0008 if (coil_type==3022 || coil_type==3023 || coil_type==3024) % magnetometer
0009   kind = 0;
0010 elseif (coil_type==3012 || coil_type==3013 || coil_type==3014 || coil_type==2) % planar gradiometer
0011   kind = 1;
0012 elseif (coil_type==7001)  % babySQUID axial gradiometer bottom coils
0013   kind = 2;
0014 end

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005