0001 function p = create_project(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 p.file_list = {'a1', 's1', 'v1', 'v2'};
0015 p.cond_list = [1 2 3 3];
0016 p.task_list = {'a', 's', 'v'};
0017
0018
0019
0020
0021
0022 p.bias_flg = 1;
0023 p.highpass = 0.4;
0024 p.lowpass = 50;
0025 p.fsamp = 1000;
0026 p.highpass_online = 0;
0027 p.lowpass_online = 0;
0028 p.common_flg = 0;
0029
0030
0031 p.Pretrigger_ms = 1000;
0032 p.Posttrigger_ms = 1000;
0033
0034
0035 p.threshold_ourlier = 1.64;
0036 p.threshold_num_of_outlier = 0.2;
0037
0038
0039
0040 p.prior = {'Uniform', 'Uniform', 'visual_motion_parception_T'};
0041 p.prior_weight = [0.01 0.01 0.01];
0042
0043
0044
0045
0046 p.process_host = {'cbi-node20', 'cbi-node21', 'cbi-node22', 'cbi-node23',...
0047 'cbi-node24', 'cbi-node25', 'cbi-node26', 'cbi-node03g', 'cbi-node07g', 'cbi-node08g'};
0048
0049
0050 p.Nworker = 20;
0051
0052
0053
0054
0055
0056 p.t1_dicom_dir = fullfile(p.raw_data_root, 'T1');
0057 p.t1_dicom_extension = '.dcm';
0058 p.t1_dirname = 'struct';
0059 p.struct_name = 'Subject';
0060 p.fs_dirname = 'freesurfer';
0061 p.brain_dirname = 'brain';
0062
0063
0064 p.eeg_dirname='eeg';
0065 p.meg_dirname='meg';
0066 p.load_dirname='loaded';
0067 p.denoise_dirname='denoised';
0068 p.filter_dirname='filtered';
0069 p.trial_dirname='trial';
0070 p.ica_dirname = 'ica';
0071
0072
0073 p.leadfield_dirname = 'leadfield';
0074 p.current_dirname = 'current';
0075 p.meeg_dirname = 'meeg';
0076
0077
0078 p.dmri_dirname = 'dmri';
0079 p.dmri_dicom_dir = fullfile(p.raw_data_root, 'dMRI');
0080 p.dmri_basename = 'data_dmri';
0081 p.FA_coreg_basename = 'data_FA_coreg';
0082 p.transform_info_dirname = 'transwarp_info';
0083 p.FA_basename = 'data_FA';
0084 p.parcels_dirname = 'parcels';
0085 p.parcels_file = 'parcels.mat';
0086 p.fiber_track_dirname = 'fibertrack';
0087 p.fiber_resp_area_file = 'sf.nii.gz';
0088 p.fiber_mif_file = 'CSD6.mif';
0089 p.fiber_mask_file = 'parcel_wm.nii.gz';
0090 p.anat_matrix_file = 'anat_matrix.mat';
0091 p.connectivity_dirname = 'connectivity';
0092 p.connectivity_file = 'connectivity.dmri.mat';
0093
0094
0095 p.dynamics_dirname = 'dynamics';
0096 p.roi_current_dirname = 'roi_current';
0097 p.dynamics_model_dirname = 'model';
0098
0099
0100 p.input_for_movie_dirname = 'input_for_movie';
0101 p.movie_dirname = 'movie';
0102