Marie Smith marie at PSY.GLA.AC.UK
Thu Sep 13 19:22:43 CEST 2007


I am trying to output the results of sourceinterpolate to analyze
format to read in afni / spm2. The volumewrite function does seem to
do this but the orientation of the output mri is not correct when
viewed in spm2 / afni (coronal is axial and rotated 90degrees,
sagittal is coronal also rotated and axial is sagittal also rotated).
I have checked and it seems to display correctly in sourceplot (in
that it matches the images shown in the tutorial documentation for

I am selecting cfg.coordinates = 'cfg' and cfg.filetype = spm in
volumewrite and leaving the rest to the defaults.
Could there be an orientation error coming in from somewhere and how
can I fix it ?

Also on a related point, i also tried cfg.filetype = 'analyze' and
got quite a different output when viewed in spm. The slices seemed to
have been rotated in some way in addition to errors in the orientation.

Any advice would be appreciated,


The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.

More information about the fieldtrip mailing list