[FieldTrip] difficulty with nifti format and ft_write_volume

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Wed Feb 23 16:50:16 CET 2011

Dear Jen,

I notice that indeed in the documentation section of ft_write_volume  
there is a FIXME behind nifti. Yet, nifti format seems to be supported  
by ft_write_volume (at least in a recent version of fieldtrip). Did  
you try it at all (and ran into problems) or were you held back by the  
FIXME statement? Could you just try it out using a recent fieldtrip  

Thanks and best wishes


On Feb 23, 2011, at 2:21 AM, Jen Whitman wrote:

> Hello,
> While writing beamformed images to spm2 format in a previous version  
> of fieldtrip (now lost due to a computer crash), I was able to get  
> nice-looking results; networks of brain regions consistent with  
> existing literature. When I try to write images from the same  
> dataset and the same analysis to spm8 format, my results (t-images  
> computed across subjects) end up being single clusters spanning  
> large sections of the brain (e.g. a 'blob' spanning all of one  
> hemisphere but not the other). Unfortunately, some aspects of my  
> planned data analyses cannot be performed on spm2 images, so I have  
> to find a way of writing to successfully to nifti format.
> I just noticed that in the comments in the ft_write_volume function,  
> which I am calling via ft_volumewrite, it says 'FIXME' next to nifti  
> under the list of supported dataformats. Is there by any chance a  
> patch out there for writing nifti images?
> Thanks!
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: 0031-24-3614793

More information about the fieldtrip mailing list