0001 function make_current_meeg
0002
0003 sub = '030';
0004
0005 root = ['/home/cbi-data20/yusuke-f/Projects/VisualMotion/' sub '/'];
0006
0007 save_dir = 'test/';
0008
0009 day = 1;
0010 cond = 4;
0011
0012 current_parm.tsubsmpl = [];
0013 current_parm.jactdir = [];
0014 current_parm.areafile = [];
0015 current_parm.area_key = [];
0016
0017 current_parm.trial_average=1;
0018
0019 current_parm.bayesfile = [save_dir '/day' num2str(day) '_' num2str(cond) '.bayes.mat'];
0020
0021 current_parm.megfile{1} = ['MEG/data0' num2str(day) '/meg/epoch/i' sub '_' num2str(cond) '_Both.meg.mat'];
0022 current_parm.eegfile{1} = ['EEG/data0' num2str(day) '/eeg/epoch/i' sub '_' num2str(cond) '_Both.eeg.mat'];
0023
0024 current_parm.currfile = [save_dir '/day' num2str(day) '_' num2str(cond) '.curr.mat'];
0025
0026 a=vb_load_meg_data([root current_parm.megfile{1}]);
0027 current_parm.twin_meg = [1 size(a,2)];
0028 current_parm.Tperiod = size(a,2);
0029
0030 vb_job_current_meeg(root, current_parm);
0031
0032
0033
0034
0035
0036