Hello,
I am trying to convert Siemens IMA files to AFNI 3D+time series. There is one complete 3D volume for each time point. So if I have 125 time points, i would use the following command line:
to3d -time:zt 1 125 3s alt+z file_prefix*
However, it seems to calculate number of slices in each 3D image and outputs the following:
++ Counting images: total=6000 2D slices
** Number of slices on command line = 6000
** Number of slices needed for -time: = 125
** Something is wrong with your command line!
The number of slices in this particular series is 48. I could make it work by changing the options to:
to3d -time:zt 48 125 3s alt+z file_prefix*
but not all series have the same number of slices. Is there a workaround to it? Is there a way to extract number of slices using some AFNI command?
I tried using Dimon with GERT option, and it renamed the files (which is necessary for Siemens files), but still had the same error.
Thank you.
Sincerely,
Renat.