batch_fmri_data1.txt

来自「绝对经典,老外制作的功能强大的matlab实现PLS_TOOBOX」· 文本 代码 · 共 62 行

TXT
62
字号

%------------------------------------------------------------------------

	%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  General Section Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%

prefix		demo	% prefix for session file and datamat file
brain_region	0.15	% threshold or file name for brain region
win_size	8	% temporal window size in scans
across_run	0	% 1 for merge data across all run, 0 for within each run
single_subj	0	% 1 for single subject analysis, 0 for normal analysis

	%%%%%%%%%%%%%%%%%%%%%%%%%
	%  General Section End  %
	%%%%%%%%%%%%%%%%%%%%%%%%%

%------------------------------------------------------------------------

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Section Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

cond_name	c1	% condition 1 name
ref_scan_onset	0	% reference scan onset for condition 1
num_ref_scan	1	% number of reference scan for condition 1

cond_name	c2	% condition 2 name
ref_scan_onset	0	% reference scan onset for condition 2
num_ref_scan	1	% number of reference scan for condition 2

% ... following above pattern for more conditions

	%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Section End  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%

%------------------------------------------------------------------------

	%%%%%%%%%%%%%%%%%%%%%%%
	%  Run Section Start  %
	%%%%%%%%%%%%%%%%%%%%%%%

data_files      /home/jimmy/p/fmrisubj/dataset_001/sS1_*.img    % run 1 data pattern (must use wildcard)
event_onsets	0 24 48	72 96 120 144			% for run 1 cond 1
event_onsets	12 36 60 84 108 132 156			% for run 1 cond 2
% ... following above pattern for more conditions of event_onsets in run 1

data_files      /home/jimmy/p/fmrisubj/dataset_002/data*.img    % run 2 data pattern (must use wildcard)
event_onsets	0 24 48	72 96 120 144			% for run 2 cond 1
event_onsets	12 36 60 84 108 132 156			% for run 2 cond 2
% ... following above pattern for more conditions of event_onsets in run 2

% ... following above pattern for more runs

	%%%%%%%%%%%%%%%%%%%%%
	%  Run Section End  %
	%%%%%%%%%%%%%%%%%%%%%

%------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?