Parameter setting of "current_parm" for dynamics estimation --- sample file [current_parm] = vb_set_current_parm_dynamics_test; 2015/09/04 rhayashi Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [current_parm] = vb_set_current_parm_dynamics_test() 0002 % Parameter setting of "current_parm" for dynamics estimation --- sample file 0003 % [current_parm] = vb_set_current_parm_dynamics_test; 0004 % 0005 % 2015/09/04 rhayashi 0006 % 0007 % Copyright (C) 2011, ATR All Rights Reserved. 0008 % License : New BSD License(see VBMEG_LICENSE.txt) 0009 0010 % 0011 % --- Standard parameters 0012 % 0013 0014 % Input file : Result of VBMEG estimation. 0015 % relative path from proj_root. 0016 current_parm.dbayesfile = ['/vbmeg/Subject.dbayes.mat']; % .dbayes.mat 0017 0018 % Output file : Estimated current file. 0019 % relative path from proj_root. 0020 current_parm.currfile = ['/vbmeg/Subject.curr.mat']; % .curr.mat 0021 0022 % Flag for current average 0023 current_parm.trial_average = ON; 0024 % ON : Average current over all sessions. 0025 % OFF: Current for each session. 0026 0027 % Time points where currents are calculated. 0028 % For example, 0029 % tsubsmpl = [200:300], means currents are calculated from t=200 to t=300 0030 % tsubsmpl = [1:5:100], means currents are calculated at every 5 sample 0031 % tsubsmpl = [] --> whole time period is calculated 0032 current_parm.tsubsmpl = []; 0033 0034 0035 % 0036 % --- Advanced parameters 0037 % Do not change, unless you understand the meaning of the parameters!! 0038 % 0039 0040 % If current of specified area is needed, specify area_key 0041 current_parm.areafile = []; % .area.mat 0042 current_parm.area_key = []; 0043 0044 % Flag for how to calculate representative time course from the set of 0045 % time courses estimated on the vertices in the specified area. 0046 % 0 : Current time courses for all vertices are 0047 % saved. N=size(J,1) is the number of vertices. 0048 % 1 : Average of time courses (N=1). 0049 % 2 : SVD is applied and the first principal component is extracted (N=1). 0050 current_parm.flag = 0; 0051 0052 % overlap_mode 0053 % = 0 : current is averaged over overlapped time window 0054 % = 1 : current is not averaged for overlapped window 0055 % current time series of each time windows 0056 % are concatenated sequentially for spectral analysis 0057 current_parm.overlap_mode = 0;