Thanks for the command, that worked. However, I had to modify the DTI header
due an error "Image Exception : #5 :: Out of Bounds (time index)"
So I just exchanged the dims from:
However, according to Nifti specs, the fourth dimension should be the timeseries
and the fifth should be the vector dimension. I also needed to change the DTI
from lower-triangular (nifti standard) to upper-triangular. Can you please allow for
the correct nifti tensor definitions to work? I'll have to write a hack around it
Thanks again for your help.