Home > vbmeg > demo > test_scripts > vb_test_gave3.m

vb_test_gave3

PURPOSE ^

Execute vb_job_fmri.m.

SYNOPSIS ^

function vb_test_gave3

DESCRIPTION ^

 Execute vb_job_fmri.m.

 [syntax]
 vb_test_gave3

 [input]

 [output]
 Activity map file (.act.mat) and area file (.area.mat) are updated. 

 [history]
 2010-12-03 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 vb_test_gave3
0002 % Execute vb_job_fmri.m.
0003 %
0004 % [syntax]
0005 % vb_test_gave3
0006 %
0007 % [input]
0008 %
0009 % [output]
0010 % Activity map file (.act.mat) and area file (.area.mat) are updated.
0011 %
0012 % [history]
0013 % 2010-12-03 Taku Yoshioka
0014 %
0015 % Copyright (C) 2011, ATR All Rights Reserved.
0016 % License : New BSD License(see VBMEG_LICENSE.txt)
0017 
0018 %
0019 % Verbose level
0020 %
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 %vb_set_verbose('WARNING');
0023 
0024 %
0025 % Condition and subject ID
0026 %
0027 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0028 cond_id = {'LR'}; 
0029 sbj_id = {'0001','0002','0003','0004'}; 
0030 
0031 %
0032 % Advanced parameter
0033 %
0034 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0035 fmri_parm.SPM_Radius   = sqrt(3);
0036 fmri_parm.SPM_zstep    = 1;
0037 fmri_parm.Gauss_radius = 3;
0038 fmri_parm.Gauss_max    = 6;
0039 
0040 %
0041 % Condition and subject loop
0042 %
0043 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0044 for j=1:length(cond_id)
0045   for i=1:length(sbj_id)
0046     % Subject dependent parameters
0047     proj_root = ['./subjects/' sbj_id{i} '/'];
0048     sbjdir = ['./subjects' filesep sbj_id{i} filesep];
0049     fmri_parm.brain_file = ['brain/' sbj_id{i} '.brain.mat'];
0050     fmri_parm.area_file  = ['brain/' sbj_id{i} '.area.mat'];
0051     fmri_parm.act_file   = ['brain/' sbj_id{i} '.act.mat'];
0052     
0053     % Condition and subject dependent parameters
0054     fmri_parm.spm_file = ['./subjects/' sbj_id{i} '/fmri/' sbj_id{i} ...
0055                         '_' cond_id{j} '.spm.mat'];
0056     fmri_parm.fmri_id = [sbj_id{i} '_' cond_id{j}];
0057     fmri_parm.area_id = [sbj_id{i} '_' cond_id{j}];
0058     fmri_parm.comment = '';
0059     
0060     % Execute job_fmri
0061     vb_job_fmri(proj_root,fmri_parm);
0062   end;
0063 end;
0064 
0065 return;

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