Home > functions > job > vb_job_check_sensor_on_brain.m

vb_job_check_sensor_on_brain

PURPOSE ^

SYNOPSIS ^

function vb_job_check_sensor_on_brain(proj_root,brain_parm,meg_parm)

DESCRIPTION ^

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    vb_job_check_sensor_on_brain(proj_root,brain_parm,meg_parm)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 proj_root = vb_rm_trailing_slash(proj_root);
0007 
0008 figure;
0009 analyzefile = brain_parm.analyze_file;
0010 brainfile   = [proj_root, '/', brain_parm.brain_file ];
0011 megfile     = vb_meg_parm_get_megfile(meg_parm);
0012 if iscell(megfile)
0013     megfile = megfile{1};
0014 end
0015 megfile     = [proj_root, '/', megfile];
0016 
0017 if isempty(megfile)
0018     warning('megfile cannot be specified.');
0019     return;
0020 end
0021 
0022 % Check sensor
0023 vb_check_sensor(brainfile, megfile);
0024 % Check sphere model
0025 [info, info_type] = vb_load_measurement_info(megfile);
0026 vb_check_sphere(brainfile, megfile, info.Vradius);
0027 vb_check_sphere_slice(brainfile, megfile, analyzefile, info.Vradius);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005