I don't have any documentation about how the ECAT7 matrix identifiers
are converted into frames, gates etc. I therefore chose to simply write
out the identifiers as hexadecimal.
Roger Gunn wrote most of the code for reading ECAT headers etc, and I
don't have access to suitable documentation. You could try tweeking
line 59 of spm_ecat2nifti.m.
matnum = sprintf('%.8x',list(i,1));
On Wed, 2009-07-08 at 11:02 -0500, Erik Kastman wrote:
> Dear List,
> I'm using the ECAT7 conversion in SPM5 (or SPM8) to convert a set of ECAT files into nifti, but the outputed nifti image frames are indexed with hexadecimal (7,8,9,a,b,c,d,e,f,10,11, etc.). Do you know if this is a feature of SPM's conversion, or if SPM is reading these filenames from something inherent in my images' headers? If it is something to do with the SPM conversion, is there a way to switch the names to decimal instead (7,8,9,10,11,12)? Thanks for your help,
> Erik Kastman
> Johnson Neuroimaging Lab
> University of Wisconsin - Madison
John Ashburner <[log in to unmask]>