[FieldTrip] fieldtrip2eeglab

Julian Keil julian.keil at gmail.com
Tue Apr 8 11:19:34 CEST 2014


Hi Tyler,

there was a mail by Arno Delorme last year containing the function.

See below.

Best,

Julian
********************
Dr. Julian Keil

AG Multisensorische Integration
Psychiatrische Universitätsklinik
der Charité im St. Hedwig-Krankenhaus
Große Hamburger Straße 5-11, Raum E 307
10115 Berlin

Telefon: +49-30-2311-1879
Fax:        +49-30-2311-2209 
http://psy-ccm.charite.de/forschung/bildgebung/ag_multisensorische_integration

Anfang der weitergeleiteten E-Mail:

> Von: Arnaud Delorme <arno at cerco.ups-tlse.fr>
> Betreff: Re: [FieldTrip] Channel layout FT to EEGLAB
> Datum: 29. Oktober 2013 01:27:53 MEZ
> An: FieldTrip discussion list <fieldtrip at science.ru.nl>
> Antwort an: FieldTrip discussion list <fieldtrip at science.ru.nl>
> 
> Dear Rajat,
> 
> this old function transforms EEG data contained in the Fieldtrip structure into an EEGLAB structure.
> After you have done that, to transform a channel location file, simply type in
> 
> EEG.chanlocs = struct('labels', cfg.elec.label, 'X', mattocell(cfg.elec.pnt(1,:)), 'Y', mattocell(cfg.elec.pnt(2,:)),'Z', mattocell(cfg.elec.pnt(3,:)));
> EEG.chanlocs = convertlocs(EEG.chanlocs, 'cart2all');
> 
> This code is untested. You might have to switch X, Y and Z to obtain the correct orientation for the electrode cap.
> Best,
> 
> Arno
> 
> 
> 
> On Oct 28, 2013, at 7:36 AM, Raquel Bibi <bibi.raquel at gmail.com> wrote:
> 
>> Hi Rajat,
>> I don't know EEGLAB, but I use the "ordered" option in Fieldtrip to display my time-locked ICA components. 
>> 
>> Best,
>> 
>> Raquel
>> 
>> 
>> On Mon, Oct 28, 2013 at 9:39 AM, Rajat Thomas <rajatthomas at gmail.com> wrote:
>> Dear all,
>> 
>> I made a layout file using the image of the ecog array I had, just like described in the
>> tutorial.
>> 
>> I would like to port this to EEGLAB, so that I can use the various ICA options to plot
>> the components at the channel locations and so on.
>> 
>> Could anyone either point me to a file that does this conversion? or
>> Any way of using ICA within fieldtrip to plot the various components on the different
>> channels using the layout file?
>> 
>> I know it is used for channel rejection and so on but any help on plotting the components
>> back on the ICA would be appreciated.
>> 
>> Thanks a lot in advance.
>> 
>>  Rajat
>> 
>> -- 
>> Rajat Mani Thomas
>> Netherlands Institute for Neuroscience
>> Amsterdam, The Netherlands
>> http://www.cita.utoronto.ca/~thomas
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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/20140408/e25e10c1/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fieldtrip2eeglab.m
Type: application/octet-stream
Size: 1141 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140408/e25e10c1/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140408/e25e10c1/attachment-0003.html>


More information about the fieldtrip mailing list