[FieldTrip] fieldtrip Digest, Vol 84, Issue 18

Mazzetti, C. (Cecilia) C.Mazzetti at donders.ru.nl
Thu Nov 30 12:05:33 CET 2017

Thanks Jan Mathijs!
I don't know whether that's supposed to be the case, but the problem is 'solved' by choosing cfg.keepindividual='no' when computing sourcegrandaverage, before the interpolation. then everything is fine!
Might be helpful for others maybe!



Cecilia Mazzetti - Ph.D. Candidate
Donders Centre for Cognitive Neuroimaging, room 0.068
Kapittelweg 29 | 6525 EN Nijmegen

Da: fieldtrip-bounces at science.ru.nl [fieldtrip-bounces at science.ru.nl] per conto di fieldtrip-request at science.ru.nl [fieldtrip-request at science.ru.nl]
Inviato: giovedì 30 novembre 2017 12.00
A: fieldtrip at science.ru.nl
Oggetto: fieldtrip Digest, Vol 84, Issue 18

Send fieldtrip mailing list submissions to
        fieldtrip at science.ru.nl

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        fieldtrip-request at science.ru.nl

You can reach the person managing the list at
        fieldtrip-owner at science.ru.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fieldtrip digest..."

Today's Topics:

   1. Re: problems plotting source grandaverage - no anatomy fied
      (ft_sourcegrandaverage) (Schoffelen, J.M. (Jan Mathijs))


Message: 1
Date: Wed, 29 Nov 2017 11:53:36 +0000
From: "Schoffelen, J.M. (Jan Mathijs)" <jan.schoffelen at donders.ru.nl>
To: FieldTrip discussion list <fieldtrip at science.ru.nl>
Subject: Re: [FieldTrip] problems plotting source grandaverage - no
        anatomy fied (ft_sourcegrandaverage)
Message-ID: <DED6E7FD-14CA-4CCA-9496-ACD2FFCCD7DF at donders.ru.nl>
Content-Type: text/plain; charset="utf-8"

Hi Cecilia,

Have you tried to compute the average on the low-resolution solutions, and only do the interpolation on the average?

This should be possible, because you use the ?mni-aligned grids?.

Also, ft_sourcegrandaverage is a dinosaur of a function, and it looks as if it hasn?t grown along with the rest of the code. The pasted matlab-structure looks a bit strange, and I can imagine that FieldTrip chokes on it.

Best wishes,

J.M.Schoffelen, MD PhD
Senior Researcher, VIDI-fellow - PI, language in interaction
Telephone: +31-24-3614793
Physical location: room 00.028
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands

On 29 Nov 2017, at 11:20, Mazzetti, C. (Cecilia) <C.Mazzetti at donders.ru.nl<mailto:C.Mazzetti at donders.ru.nl>> wrote:

Hi Everyone,
I am struggling with the source analysis and especially when averaging across subjects' source reconstruction.
The analysis for every subject was done according to the tutorial (creating MNI aligned grids in individual head space).
The point is when I try to plot the source grandaverage I get an error saying there is no 'anatomy' field in my data.
I tried to use both sourceinterpolate or add the anatomy field manually to the gsource_grandaverage structure but nothing works.
Here is what my source_grandaverage contains:

   pow: [6?902629 double]
       dim: [91 109 91]
      freq: 9.9723
    inside: [902629?1 logical]
       pos: [902629?3 double]
      unit: 'mm'
       cfg: [1?1 struct]

Any help is appreciated! Thanks!


fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20171129/da93bdd3/attachment-0001.html>


fieldtrip mailing list
fieldtrip at donders.ru.nl

End of fieldtrip Digest, Vol 84, Issue 18

More information about the fieldtrip mailing list