Hey afni experts,
I have two question about these lovely scripts on how to rotate gradient vectors for DTI data.
1.
Currently we collect our DTI data oblique, then we have been using 3dWarp -oblique2card to deoblique it.
Therefore we need to rotate our bvecs accordingly. Is there anyway to modify this script based on header attributes from 3dWarp?
2.
It is same as described above. After conducting 3dAllineate with dwi data, how can I get matrix file? I'd like to fix the vector file
Any hints on how to do this would be appreciated (the more explicit the better, as my scripting skills are still subpar)!
Thanks in advance!