[FieldTrip] Convert fieldtrip beamformers to SPM

Sebastian Michelmann SXM1085 at student.bham.ac.uk
Wed Nov 8 12:07:43 CET 2017


Dear Sabrina,
This code works for me on the interpolated volume:

cfg = [];
cfg.parameter = 'stat';
cfg.filename = 'stat_interp';
cfg.datatype = 'float';
cfg.filetype = 'nifti';
cfg.vmpversion    = 2;
cfg.coordsys      = 'spm';
ft_volumewrite(cfg, sourceint);

I use this to plot 'blobs' outside of fieldtrip.
best,
Sebastian

From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of s.chettouf at vu.nl
Sent: 08 November 2017 10:15
To: FieldTrip discussion list
Subject: [FieldTrip] Convert fieldtrip beamformers to SPM

Dear fieldtrip community,

I analysed my EEG data in fieldtrip and calculated beamformers. I would like to compare these source data with my fMRI sources and therefore do both statistical testings in SPM. But how can I export my beamformer data to SPM? Converting them with spm_ eeg _ ft2spm does not work with beamformer data.
I also tried ft_volumewrite to convert the beamformer results to nifti, but without succes.

Thanks in advance,
Sabrina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20171108/af699dd3/attachment-0002.html>


More information about the fieldtrip mailing list