batch_struct_data1.txt

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

TXT
85
字号

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

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

prefix		demo		% prefix for session file and datamat file
brain_region	/home/jimmy/p/petsim/background.nii	% file name for brain region
dataset_path	/home/jimmy/p/petsim/data	% folder for subject files
normalize	0		% do not normalize (keep it 0) in most cases

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

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

	%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Name Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%

cond_name	c1	% condition 1 name
cond_name	c2	% condition 2 name

% ... following above pattern for more conditions

	%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Name End  %
	%%%%%%%%%%%%%%%%%%%%%%%%

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

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Filter Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%

cond_filter	*wm.nii		% filter to distinguish condition 1
cond_filter	*gm.nii		% filter to distinguish condition 2

% ... following above pattern for more conditions

	%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Condition Filter End  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%

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

	%%%%%%%%%%%%%%%%%%%%%%%%
	%  Subject Name Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%

subj_name	s1	% subject 1 name
subj_name	s2	% subject 2 name
subj_name	s3	% subject 3 name

% ... following above pattern for more conditions

	%%%%%%%%%%%%%%%%%%%%%%
	%  Subject Name End  %
	%%%%%%%%%%%%%%%%%%%%%%

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

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Subject File Name (without path) Start  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

subj_file	small_nihpd_000015_lin_wm.nii	% subj 1 in cond 1
subj_file	small_nihpd_000018_lin_wm.nii	% subj 2 in cond 1
subj_file	small_nihpd_000017_lin_wm.nii	% subj 3 in cond 1

subj_file	small_nihpd_000015_lin_gm.nii	% subj 1 in cond 2
subj_file	small_nihpd_000018_lin_gm.nii	% subj 2 in cond 2
subj_file	small_nihpd_000017_lin_gm.nii	% subj 3 in cond 2

% ... following above pattern for more subjects (in conditions)

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%  Subject File Name (without path) End  %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

⌨️ 快捷键说明

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