Your CustomAtlases.niml file should contain the definition for your Rat space. That's a simple text description as in AFNI_atlas_spaces.niml in your abin directory. You should also set the AFNI environment variable AFNI_SUPP_ATLAS_DIR to point to the directory where you have the atlas and the CustomAtlases.niml file. Finally, make sure your datasets are marked as being in the "Rat" template space you just defined. Template spaces will be inherited automatically with AFNI alignment tools, but you can do this manually with 3drefit -space "Rat" mydset.nii.
Edited 1 time(s). Last edit at 10/06/2020 03:54PM by Daniel Glen.