[FieldTrip] ft_sourceinterpolate with stats data
Andreas Sauer
sauer.mpih at googlemail.com
Mon Jul 8 10:34:06 CEST 2013
Thanks for your answer, Haiteng! It also works for me when I interpolate
i.e. 'stat'. However, it would be good to know why 'all' does not work,
since it is described in the tutorial...
Best,
Andreas
2013/7/7 Haiteng Jiang <haiteng.jiang at gmail.com>
> Hi Andreas ,
> It is annoying that it doesn't work if you specify cfg.parameter
> 'all' and I don't know why either. However , I have a very simple
> solution for this by interpolating 'stat' and 'mask' then combining
> afterwards when you want to plot your statistic result. The FT code is
> something like this:
>
> cfg = [];
> cfg.voxelcoord = 'no';
> cfg.parameter = 'stat';
> cfg.interpmethod = 'nearest';
> cfg.coordsys = 'mni';
> statplot = ft_sourceinterpolate(cfg, stat,mri);
>
> cfg = [];
> cfg.voxelcoord = 'no';
> cfg.parameter = 'mask';
> cfg.interpmethod = 'nearest';
> cfg.coordsys = 'mni';
> mask = ft_sourceinterpolate(cfg,
> stat,mri);
> statplot.mask = mask.mask;
> Hope this helps.
>
> Best,
> Haiteng
>
>
>
>
>> Message: 3
>> Date: Sat, 6 Jul 2013 09:53:09 +0200
>> From: Andreas Sauer <sauer.mpih at googlemail.com>
>> To: FieldTrip discussion list <fieldtrip at science.ru.nl>
>> Subject: [FieldTrip] ft_sourceinterpolate with stats data
>> Message-ID:
>> <
>> CAHLSopWD2Q-RuAMJrvwZJGAajB6aUbDyrDN6_SFMdqu7HOgZ0g at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> Dear All,
>>
>> after running source statistics I tried to plot the result. However, I
>> always get the error that cfg.parameter 'all' can't be used since there is
>> "no such field".
>>
>
>
>>
>> I know that I can also specify single parameters, i.e. only the ones I
>> want
>> to interpolate. However, I would like to know why it doesn't work for me
>> with all the parameters... Maybe it's only a minor thing, i.e. the FT
>> version. But I want to make sure that there is no major error in my
>> pipeline.
>>
>> Any help is as always very appreciated! Thanks!
>>
>> Best,
>>
>> Andreas
>>
>> --
>> Andreas Sauer
>> Max Planck Institute for Brain Research
>> Deutschordenstra?e 46
>>
>> 60528 Frankfurt am Main
>> Germany
>>
>> T: +49 69 96769 278
>> F: +49 69 96769 327
>> Email: sauer.mpih at gmail.com
>> www.brain.mpg.de
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130706/b595b2e2/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>> End of fieldtrip Digest, Vol 32, Issue 11
>> *****************************************
>>
>
>
>
> --
> Haiteng Jiang
> PhD candidate
> Neuronal Oscillations Group
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognitive Neuroimaging
> Radboud University Nijmegen
>
> Visiting address
> Room 2.32
> Donders Centre for Cognitive Neuroimaging
> Kapittelweg 29
> 6525 EN Nijmegen
> the Netherlands
>
> Tel.: +31 (0)243668291
> Web: https://sites.google.com/site/haitengjiang/
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
--
Dipl.-Psych. Andreas Sauer
Max Planck Institute for Brain Research
Deutschordenstraße 46
60528 Frankfurt am Main
Germany
T: +49 69 96769 278
F: +49 69 96769 327
Email: sauer.mpih at gmail.com
www.brain.mpg.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130708/7881b328/attachment-0002.html>
More information about the fieldtrip
mailing list