809
Comment:
|
← Revision 6 as of 2013-03-07 21:22:56 ⇥
809
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 35: | Line 35: |
''do_time_place[[BR]] realign_spm5[[BR]] smooth_spm5[[BR]] one_sub_sess_model_moves5'' (OneSubSess)[[BR]] |
''do_time_place<<BR>> realign_spm5<<BR>> smooth_spm5<<BR>> one_sub_sess_model_moves5'' (OneSubSess)<<BR>> |
Line 40: | Line 40: |
''one_sub_sess_con_moves5[[BR]]'' | ''one_sub_sess_con_moves5<<BR>>'' |
Here is a typical structure for a batch script
- {{{Code to set up parameters across all the datasets
and do bits of analysis that are can be grouped }}}
- {{{Loop over Subjects and Sessions
- and perform the Main Crunch
}}}
E.g.
% reorientation, slice timing do_time_place5 realign_spm5 smooth_spm5 % hp filter MYV.hf_cut = 60;
% Run models for sb = 1:length(MYV.subjects) for ss = 1:length(MYV.sesses) one_sub_sess_model_moves5(MYV, sb, ss); one_sub_sess_con_moves5(MYV, sb, ss); end end
Here
do_time_place
realign_spm5
smooth_spm5
one_sub_sess_model_moves5 (OneSubSess)
and
one_sub_sess_con_moves5
are subscripts tailored to specialised parts of the sequence.