Hi rick,
I don't find any slice timing information in HEAD file, so I should use '-tpattern'.
However, I have two kinds of slice orders in experiment. In the first four runs, the slice order is 2, 4, 6, 8, ......,30, 32,1, 3, 5, 7,......,29,31; and in the back four runs, the slice order is 31,29,27,25,....3,1,32,30,28,26,......4,2.
The script is
#!/bin/tcsh
afni_proc.py -subj_id cl \
-dsets cl_epi_r??+orig.HEAD \
-blocks tshift align volreg blur \
-copy_files slice_times.1D \
-copy_anat cl_anat+orig \
-tshift_opts_ts -tpattern @slice_times*.1D \
-volreg_base_dset ${sid}_loc_r1+orig'[0]' \
-blur_size 4.0
I don't know how to extract the first slice timing file automatically in the first four runs, and how to extract the second slice timing file automatically in the back four runs in script.
Thanks a lot!
jiaxin