[FieldTrip] electrodes, neighbours et al.

Lilla.Magyari at mpi.nl Lilla.Magyari at mpi.nl
Wed Oct 3 15:55:00 CEST 2012


hi Ivano,

I have also checked the issue with the structure which defines the
electrode positions. It worked fine for me when I defined the electrode
positions with the following fields:
elec.label = MX1 cell-array with strings (the labels of the electrodes)
elec.chanpos=MX3 matrix with electrode positions

When I used elecpos instead of chanpos, it did not work (I have already
filed a bug about it because .elecpos is defined indeed  in the reference
of ft_datatype_sens).

And the gui worked for me when I specified
cfg.channel = 'gui' and called the ft_topoplotER function. But otherwise,
you can just do it manually as Jorn described it.

Best,
Lilla




> Dear Ivano,
>
> There is a template directory in FieldTrip, which contains a subfolder
> called elec. If you do not have any electrode positions, you can load a
> template from there. Alternatively, you can load a file from there and
> see how to set the structure up.
>
> For channelselection, I think you misunderstood something/someone. I
> never heard of the fact that there should be a gui, where do you got
> that information from? Since I'm in the dev team, I would be rather
> surprised if there would be a gui given that I never heard anything
> about that ;) I'm afraid you have to specify the channel names manually.
> You can try to use ft_prepare_layout with cfg.feedback = 'yes' for
> information about channelpositions, given that you provide an elec
> structure (or use a layout-template)
>
> Best,
> Jörn
>
> On 10/3/2012 12:59 PM, Ivano Triggiani wrote:
>> Dear all,
>>
>> I need to repair a couple of channels of my EEG (edf format). I'm in
>> trouble reading the reference, because I don't understand how I have
>> to prepare cfg for electrode position. for example elec.elecpos and
>> elec.channelpos : wich argument must I provide?
>> Furthermore, in ft_channelselection I read  " 'gui' a graphical user
>> interface will pop up to select the channels" How does it works? How
>> can I make a gui pops up ?
>>
>> Ivano
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip





More information about the fieldtrip mailing list