The final file name in the -subj_id $sb
-blocks tshift align tlrc volreg blur mask scale
-copy_anat ${sb}_SurfVol.nii
-tcat_remove_first_trs 2
-tlrc_base MNI152_2009_template.nii.gz
-volreg_align_to MIN_OUTLIER
-blur_size 8

So, which name of file will be the final result that I want?

You don’t have a “regress” block? Are you sure that is what you want/don’t want?


Thanks for your reply. I want to perform PPI analysis. After this, regression analyses with PPI regressor will be performed in the following script with 3dDeconvolve. This is because I do not know how to set PPI regressor in the

Hm, I see. Rick will likely be able to address using with PPI analyses in mind. As your is written at the moment, I don’t know that the multiple runs would be concatenated at the end; you will might just have two files with names “pbscale”.

But you might want to look at the AFNI Bootcamp demo data set, obtainable for example from the “Boot up” section here:
… and, in particular, in “AFNI_data6/FT_analysis/PPI/” there is a set of scripts+README file for performing PPI, including an command, a script to generate PPI regressors, and more.