1234567891011121314151617 |
- #!/bin/tcsh
- # make short versions of all the float templates
- set dsetlist = ( inia19 macMNI_rescale yerkes19 )
- foreach dset ( $dsetlist )
- 3dcalc -a ${dset}.nii.gz -datum short -nscale -expr a -prefix ${dset}_short.nii.gz
- end
- # Yerkes has negative values and very large field of view
- # extending far beyond brain
- 3dAutomask -apply_prefix yerkes19_short_am.nii.gz yerkes19_short.nii.gz
- # for non-AFNI generated templates, mark the others as templates with spaces
- 3drefit -space INIA19 inia19*.nii.gz
- 3drefit -space YERKES19 yerkes19*.nii.gz
- 3drefit -space MACMNI macMNI*.nii.gz
|