[FieldTrip] mne source reconstruction

Johanna Zumer johanna.zumer at donders.ru.nl
Tue Aug 7 14:12:20 CEST 2012


Dear Qi,
Are you using the most current FieldTrip version?  That line is 217 in the
current version.
But cfg.sphereradius should be set a few lines previous to that line, so
I'm not sure how it is a non-existent field.
What are the cfg options you use to call ft_sourceinterpolate?

Best,
Johanna

2012/8/2 qi li <lihqih at gmail.com>

> Jan and Jörn:
>
> Thanks a lot for your answers! You did understand my questions pretty
> well. I actually tried to use ft_sourceinterpolate to find the voxel
> index without success. The error message is like
>
> 'Reference to non-existent field 'sphereradius'.
>
> Error in ft_sourceinterpolate (line 203)
>   interpmat = interp_ungridded(functional.pos,
> warp_apply(anatomical.transform, [X(:) Y(:) Z(:)]), ...'
>
> On Thu, Aug 2, 2012 at 3:07 AM, jan-mathijs schoffelen
> <jan.schoffelen at donders.ru.nl> wrote:
> > Hi Qi,
> >
> > To follow up on Jörn:
> >
> > If you reconstructed the source activations on a mesh that represents the
> > cortical surface, you first need to interpolate the functional data into
> a
> > 3D volume, if you want to use ft_sourceplot for visualization. For this
> you
> > need ft_sourceinterpolate.
> > As an alternative, to visualize the results, you can use ft_sourcemovie.
> > However, this function is under development so it may not give the most
> > visually appealing results.
> >
> > Best,
> >
> > JM
> >
> >
> > On Aug 2, 2012, at 8:52 AM, Jörn M. Horschig wrote:
> >
> > Dear Qi,
> >
> > Not quite sure if I understand your request correctly, but you can just
> > rehape:
> >     source.avg.pow = reshape(source.avg.pow, anatomical.dim);
> > Then instead of being a vector, it will become a matrix.
> >
> > If that's not the answer you intended to get, please phrase your question
> > differently :)
> >
> > Best,
> > Jörn
> >
> > On 8/1/2012 7:33 PM, qi li wrote:
> >
> > Hi,
> >
> > Is there anyway to map the source space mesh back to voxel space so I
> > can use the ft_sourceplot.
> >
> > After MNE source reconstruction, I have
> >
> > source =
> >
> >        time: [1x399 double]
> >         pos: [8196x3 double]
> >      inside: [1x8196 double]
> >     outside: [1x0 double]
> >      method: 'average'
> >         avg: [1x1 struct]
> >         cfg: [1x1 struct]
> >
> > I have 8196 mesh points but how to map it back to the anatomical voxel
> > space? Thanks!
> >
> > Qi
> > _______________________________________________
> > 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
> >
> > 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
> >
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> >
> >
> > Jan-Mathijs Schoffelen, MD PhD
> >
> > Donders Institute for Brain, Cognition and Behaviour,
> > Centre for Cognitive Neuroimaging,
> > Radboud University Nijmegen, The Netherlands
> >
> > Max Planck Institute for Psycholinguistics,
> > Nijmegen, The Netherlands
> >
> > J.Schoffelen at donders.ru.nl
> > Telephone: +31-24-3614793
> >
> >
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> _______________________________________________
> 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/20120807/8d974f14/attachment-0001.html>


More information about the fieldtrip mailing list