Set parameters for MEG meg_parm = vb_set_sbi_meg_parm_test(Test_ID) 2005-12-22 Masa-aki Sato Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function meg_parm = vb_set_sbi_meg_parm_test(Test_ID) 0002 % Set parameters for MEG 0003 % meg_parm = vb_set_sbi_meg_parm_test(Test_ID) 0004 % 0005 % 2005-12-22 Masa-aki Sato 0006 % 0007 % 0008 % Copyright (C) 2011, ATR All Rights Reserved. 0009 % License : New BSD License(see VBMEG_LICENSE.txt) 0010 0011 SBI_dir = [getenv('MATHOME') '/SBIdata-new/Retino-TY/']; 0012 MEG_ID = 'c00017f'; 0013 MRI_ID = '10000fb'; 0014 0015 if nargin==0, Test_ID = []; end; 0016 0017 % 0018 % --- Standard parameters 0019 % 0020 0021 meg_parm = vb_meg_parm_set_measurement([], 'MEG', 'SBI'); 0022 0023 % 0024 % --- Input file 0025 % 0026 0027 0028 % SBI-MEG file (.meg) 0029 meg_parm.sbi_file = [SBI_dir 'meg/' MEG_ID '.meg']; 0030 0031 % MRI image file (.tbl ) 0032 meg_parm.dicom_dir = [SBI_dir 'mri/' MRI_ID '/']; 0033 meg_parm.dicom_file = [MRI_ID '.tbl']; 0034 0035 % ANALYZE file 0036 meg_parm.analyze_file = [SBI_dir '3d.hdr']; 0037 0038 % 0039 % --- Output file 0040 % 0041 0042 % MEG file (.meg.mat) 0043 meg_parm.meg_file = [MEG_ID '.meg.mat']; 0044 0045 0046 % 0047 % --- Advanced parameters 0048 % Optional parameter 0049 % Do not change, unless you understand the meaning of the parameters!! 0050 % 0051 0052 % Positioning flag 0053 meg_parm.Pos_chk = 1; 0054 % If 0, sensor position will not be converted to the DICOM coordinate. 0055 % This option may be useful if you want to get MEG data without subject. 0056 0057 % Set of trial numbers to read. 0058 meg_parm.trials = []; 0059 0060 % Time window to read. 0061 meg_parm.time_win = []; 0062 % [Tstart Tend]: [ms] 0063 0064 % EEG channel name to read 0065 % meg_parm.eeg_name = [13:14]; 0066 % = {'AT3'; 'AT4'} : vertical/horizontal eye movement 0067 0068 % Two way of specification 0069 % 1. specify channel number to read 0070 %meg_parm.eeg_name = [1:4]; 0071 % 2. specify channel name to read 0072 %meg_parm.eeg_name = {'AFP1'; 'AFP2'; 'AF3'; 'AF4'};