0001 function p = creat_project_standard(sub)
0002
0003
0004
0005
0006
0007
0008 p = struct;
0009 p.sub = sub;
0010 p.proj_root = fullfile(cd, '..', 'analyzed_data', p.sub);
0011 p.raw_data_root = fullfile(cd, '..', 'raw_data', p.sub);
0012 p.fmri_dirname = fullfile(cd, '..', 'fmri_result');
0013 p.fig_root = fullfile(cd, '..', 'figure');
0014
0015
0016
0017
0018
0019
0020 p.bias_flg = 1;
0021 p.highpass = 0.4;
0022 p.lowpass = 50;
0023 p.fsamp = 1000;
0024 p.highpass_online = 0;
0025 p.lowpass_online = 0;
0026 p.common_flg = 0;
0027
0028
0029 p.Pretrigger_ms = 1000;
0030 p.Posttrigger_ms = 1000;
0031
0032
0033 p.threshold_ourlier = 1.64;
0034 p.threshold_num_of_outlier = 0.2;
0035
0036
0037 p.prior = 'Uniform';
0038 p.prior_weight = 0.01;
0039
0040
0041
0042
0043
0044 p.eeg_dirname='eeg';
0045 p.meg_dirname='meg';
0046 p.struct_name = 'Subject';
0047 p.load_dirname='loaded';
0048 p.denoise_dirname='denoised';
0049 p.filter_dirname='filtered';
0050 p.trial_dirname='trial';
0051 p.ica_dirname = 'ica';
0052
0053
0054 p.leadfield_dirname = 'leadfield';
0055 p.current_dirname = 'current';
0056