Home > functions > job > job_plot_meg_dir > job_plot_meg_change_sensor_type.m

job_plot_meg_change_sensor_type

PURPOSE ^

Change MEG sensor type

SYNOPSIS ^

function job_plot_meg_change_sensor_type(inst_id,n)

DESCRIPTION ^

 Change MEG sensor type

 --- Syntax
 job_plot_meg_change_sensor_type(inst_id,n)

 --- History
 2008-09-02 Taku Yoshioka

 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 job_plot_meg_change_sensor_type(inst_id,n)
0002 % Change MEG sensor type
0003 %
0004 % --- Syntax
0005 % job_plot_meg_change_sensor_type(inst_id,n)
0006 %
0007 % --- History
0008 % 2008-09-02 Taku Yoshioka
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 global vbmeg_inst;
0014 define_job_plot_meg_const;
0015 
0016 vbmeg_inst.plotmeg{inst_id}.sensor_type ...
0017     = vbmeg_inst.plotmeg{inst_id}.sensor_type_list(n);
0018 for i=1:length(vbmeg_inst.plotmeg{inst_id}.h_sensortype)
0019   set(vbmeg_inst.plotmeg{inst_id}.h_sensortype(i),'Checked','off');
0020 end
0021 set(vbmeg_inst.plotmeg{inst_id}.h_sensortype(n),'Checked','on');
0022 
0023 job_plot_meg_update_spatialpattern(inst_id);
0024 job_plot_meg_update_timecourse(inst_id,FORCE_UPDATE);

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