[FieldTrip] ft_sourceinterpolate with stats data

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Mon Jul 8 11:30:39 CEST 2013


Hi Andreas,

all the chiefs are on vacation right now, and I do not know if it should 
work or why it does not. Therefore, I created a bug on bugzilla:
http://bugzilla.fcdonders.nl/show_bug.cgi?id=2218
You can also sign up there and add yourself to the CC list to stay 
informed about the progress on this. In the meanwhile I would suggest to 
do as Haiteng proposed, as this is the only way to go right now.

Thanks for reporting :)
Best,
Jörn

On 7/8/2013 10:34 AM, Andreas Sauer wrote:
> 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 
> <mailto: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
>         <mailto:sauer.mpih at googlemail.com>>
>         To: FieldTrip discussion list <fieldtrip at science.ru.nl
>         <mailto:fieldtrip at science.ru.nl>>
>         Subject: [FieldTrip] ft_sourceinterpolate with stats data
>         Message-ID:
>                
>         <CAHLSopWD2Q-RuAMJrvwZJGAajB6aUbDyrDN6_SFMdqu7HOgZ0g at mail.gmail.com
>         <mailto: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 <tel:%2B49%2069%2096769%20278>
>         F: +49 69 96769 327 <tel:%2B49%2069%2096769%20327>
>         Email: sauer.mpih at gmail.com <mailto:sauer.mpih at gmail.com>
>         www.brain.mpg.de <http://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 <mailto: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 <tel:%2B31%20%280%29243668291>
>      Web: https://sites.google.com/site/haitengjiang/
>
>     _______________________________________________
>     fieldtrip mailing list
>     fieldtrip at donders.ru.nl <mailto: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 <mailto:sauer.mpih at gmail.com>
> www.brain.mpg.de <http://www.brain.mpg.de>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130708/020c0499/attachment.html>


More information about the fieldtrip mailing list