I feel like I'm missing something obvious, but here's my situation: I have warped the ONPRC18 dti template of the rhesus macaque to NMT using the RheMAP based transforms I previously calcuated with ANTs (antsApplyTransforms). Now I want to incorporate this in our 'single-subject pipeline' that uses @animal_warper to align NMT/CHAR/SARM to the individual so that I also get a connectivity template in each monkey's native space.
This is where things start to get confusing. The antsApplyTransforms function cannot deal with 3dAllineate's 1D files and using 3dAllineate on the (5D) tensor volume does not seem capable of saving the result (ERROR (nifti_image_write_hdr_img2)). I wouldn't be surprised if there was an afni function I'm blissfully unaware of that will transform the 5D tensor file, or should think about decomposing into sub-bricks, apply the transform and re-compose to 5D.
Could also be I'm saying really uninformed stuff, as I'm not at all used to working with dti data. I just want to apply transforms from @animal_warper to a 5D nifti file that defines tendors.