# Prefix defines the output file, and you can give it numerous input files
3dTcat -prefix ${OUTPUT_FILE} ${INPUT_FILES}
What is your example?
# This example will allow you to concatenate different volumes from 3 different runs of resting state scans
3dTcat -prefix sub-01_rest_3runs.nii.gz sub-01_task-rest_run-01.nii.gz sub-01_task-rest_run-02.nii.gz sub-01_task-rest_run-03.nii.gz
Anything else?
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Description
This recipe will show you how concatenate volumes (i.e., fMRI, ROIs etc) into a single file.
What language are you using?
bash
To which modalities does your recipe apply?
fmri, smri
Which software does your recipe require?
afni
Tags
concatenate, 4D
Ingredients
afni
installation, in particular,3dTcat
function from afni. full usagebash
What is your recipe?
What is your example?
Anything else?
Code of Conduct