[FieldTrip] beamforming - normilise issue

Davide Rivolta drivolta81 at gmail.com
Mon Oct 31 17:05:51 CET 2011


Dear Jörn,

I tried to use the script you indicated me. It seems ok. I go further and I
calculate the common filter for baseline and stimulus and then I run
ft_sourceanalysis for baseline and stimulus (considering the common filter).

After that (ft_sourceanalysis), that seems ok, I try to plot it.
Like in the tutoial I calculate the relative change in power.

I use ft_sourceplot.

I got an error I do not understand really. It says: "the function requires
volume data as input".

In the structure sourceDiff, there is a volume field. It is in .cfg.vol

This is my script.
Am I missing something?

      cfg               = [];
       cfg.method        = 'slice';
    cfg.funparameter  = 'avg.pow';
    cfg.maskparameter = cfg.funparameter;
    cfg.anaparameter  = 0.5;
    cfg.units         = 'mm';
    cfg.vol           = hdm;   %I tried even:  sourceDiff.cfg.vol; but it
does not work
    figure
    ft_sourceplot(cfg,sourceDiff);


If someone has some idea, it would be really appreciated.

Thanks again,

Davide






On Fri, Oct 21, 2011 at 12:13 PM, "Jörn M. Horschig" <
jm.horschig at donders.ru.nl> wrote:

> Dear Davide,
>
> I was hesitant to answer, because I thought others know more than me. But
> since none responded, I can try to help with my limited knowledge.
>
> From my knowledge of source reconstruction, I can just say that if all
> your source reconstructions are in the same space (say, MNI), you can use
> the .pos from your template to overcome this problem. I am not using
> ft_volumenormalise, so I have no experience what is exactly going on there.
> I would assume, however, that volumenormalise will transofmr your source
> structures to a common space.
> However, I stick to normalizing the following way:
>
> http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space
>
> Hope it helps at least a little bit.
> Best,
> Jörn
>
>
> On 10/19/2011 6:12 PM, Davide Rivolta wrote:
>
> Hi Michael,
>
> I am using the single shell (Nolte).
>
> The grid has 2340 positions, but I am not still using mni.
>
> Thanks,
>
> Davide
>
> On Wed, Oct 19, 2011 at 5:44 PM, Michael Wibral <michael.wibral at web.de>wrote:
>
>> Hi davide,
>>
>> what headmodel and grid are you using?
>>
>> Michael
>>
>>
>>  ------------------------------
>> *Von:* "Davide Rivolta" <drivolta81 at gmail.com>
>> *Gesendet:* Oct 19, 2011 3:54:37 PM
>> *An:* "Email discussion list for the FieldTrip project" <
>> fieldtrip at donders.ru.nl>
>> *Betreff:* [FieldTrip] beamforming - normilise issue
>>
>>
>> Dear all,
>>
>> I am trying to use beamforming for some MEG data.
>>
>> I have 1 condition, and I wish to compare it against the baseline.
>> Ideally I wish to have the average of all group and statistically compare
>> stimulus agains baseline..
>>
>> As such, for each subject I calculate the source for the baseline and the
>> source for the stimulus (using a common filter as indicated on the website).
>>
>> I then call ft_sourceinterpolate and, since I wish to have a group
>> analysis, ft_volumenormalise.
>> In order to compute the average, I call ft_sourcegrandaverage.
>>
>> Even though the help tells me that it is fine, the grandaverage does not
>> work if the input is from the ft_volumenormalise. It is because there is
>> not the ".pos" field!
>>
>> Am I doing something wrong?
>>
>> Any advice would be great.
>>
>> Thanks a lot,
>>
>> Davide
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
>
> --
> Davide Rivolta, PhD
>
>
>
> _______________________________________________
> fieldtrip mailing listfieldtrip at donders.ru.nlhttp://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
>



-- 
Davide Rivolta, PhD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111031/f4252ade/attachment.html>


More information about the fieldtrip mailing list