Using 3dcopy to create NIFTI datasets from AFNI format datasets

I saw Daniel say “I typically use 3dcopy to create NIFTI datasets from AFNI format datasets”, in another thread.

I couldn’t see how to do that, from the help pages. Are there instructions somewhere else?

Thanks,

Jim Waltz

Hi Jim,

Most AFNI programs will create NIFTI if the output prefix ends with .nii or .nii.gz, e.g.

3dcopy DSET+orig DSET.nii
3dcalc -a DSET+tlrc -expr a -prefix DSET.nii

It isn’t necessary to add any special option.

  • rick

Thanks, Rick.