[FieldTrip] Format for ft_volumewrite?

Johanna Zumer johanna.zumer at donders.ru.nl
Fri May 24 10:21:24 CEST 2013

Dear Andrew,

To read EPI (MRI) data, you should use ft_read_mri instead.   Then
hopefully the format will match what ft_volumewrite wants.


2013/5/23 Andrew Brooks <andmib at gmail.com>

> Hello all,
> I am new to FieldTrip, so this is a very basic question I was hoping
> someone might know an answer to.
> I am using ft_read_data to read the first EPI volume after dummy scans are
> thrown out. I want to write this volume to a .nii file to my disk. For some
> reason, I am unable to figure out the correct structure that ft_volumewrite
> wants. Using the output from ft_read_data ('dat') does not seem to work.
> Does anybody have any suggestions?
> [ For a longer explanation of exactly what I am aiming to do, in case you
> have any suggestions: I have ROI that is defined in Talairach space. This
> is the ROI I would like to pull my real-time data from for each subject in
> my study. To do this, I plan to register a talairach template brain to
> individual subject-space, and then apply that transformation to my ROI so
> that it is in subject space. I was going to simply write out the subject's
> EPI to an .nii file, and then run SPM's co-registration step which allows
> for a 'child dataset' to be set (my ROI), with the source file being the
> template, and the reference being the individual ROI].
> Thanks
> Andrew
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130524/62560575/attachment-0002.html>

More information about the fieldtrip mailing list