kind : sensor kind : = 0 : magnetometer = 1 : planar gradiometer = 2 : axial gradiometer
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