Parameter setting of "current_parm" --- sample file [current_parm] = vb_set_current_parm_test; 2006/09/20 ver 0.5 by M. Sato Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [current_parm] = vb_set_current_parm_test() 0002 % Parameter setting of "current_parm" --- sample file 0003 % [current_parm] = vb_set_current_parm_test; 0004 % 0005 % 2006/09/20 ver 0.5 by M. Sato 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.bayesfile = []; % .bayes.mat 0017 0018 % Output file : Estimated current file 0019 % (relative path from proj_root) 0020 current_parm.currfile = []; % .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 % If current for each session is calculated (trial_average = OFF) 0035 % and data size exceed memory size, specify jactdir to save current 0036 % file for each trial. 0037 current_parm.jactdir = []; % (relative path from currfile) 0038 0039 % 0040 % --- Advanced parameters 0041 % Do not change, unless you understand the meaning of the parameters!! 0042 % 0043 0044 % If current of specified area is needed, specify area_key 0045 current_parm.areafile = []; % .area.mat 0046 current_parm.area_key = []; 0047 0048 % Flag for how to calculate representative time course from the set of 0049 % time courses estimated on the vertices in the specified area. 0050 % 0 : Current time courses for all vertices are 0051 % saved. N=size(J,1) is the number of vertices. 0052 % 1 : Average of time courses (N=1). 0053 % 2 : SVD is applied and the first principal component is extracted (N=1). 0054 current_parm.flag = 0; 0055 0056 % overlap_mode 0057 % = 0 : current is averaged over overlapped time window 0058 % = 1 : current is not averaged for overlapped window 0059 % current time series of each time windows 0060 % are concatenated sequentially for spectral analysis 0061 current_parm.overlap_mode = 0;