[FieldTrip] Channels configuration from EEGLAB .set file is rotated in ft_topoplotER

Samran samranasghar at gmail.com
Sat Feb 20 17:05:14 CET 2021


Hi Vera,

I have faced similar issue when converting EEGLAB dataset to fieldtrip
format (using eeglab2fieldtrip) for two different systems.

I use this code (EEGLAB function) to solve this issue before conversion.

EEG = pop_chanedit (EEG, 'nosedir', '-Y');

Regards,
Samran


On Sat, Feb 20, 2021, 12:00 <fieldtrip-request at science.ru.nl> wrote:

> Send fieldtrip mailing list submissions to
>         fieldtrip at science.ru.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 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: Channels configuration from EEGLAB .set file is rotated
>       in ft_topoplotER (tibor.auer at gmail.com)
>
>
>
> ---------- Forwarded message ----------
> From: <tibor.auer at gmail.com>
> To: "'FieldTrip discussion list'" <fieldtrip at science.ru.nl>
> Cc:
> Bcc:
> Date: Fri, 19 Feb 2021 19:42:10 -0000
> Subject: Re: [FieldTrip] Channels configuration from EEGLAB .set file is
> rotated in ft_topoplotER
>
> Hi Vera,
>
>
>
> This is something I also noticed for other systems, as well. I simply
> rotated it back according to some crude heuristic. See automaticanalysis/eeglab2fieldtripER.m
> at master ยท automaticanalysis/automaticanalysis (github.com)
> <https://github.com/automaticanalysis/automaticanalysis/blob/master/extrafunctions/ft_mods/eeglab2fieldtripER.m>,
> lines 122-145.
>
>
>
> Kind regards,
>
> Tibor
>
>
>
> *Auer, Tibor M.D. Ph.D.*
>
> *Research Fellow*
>
> *School of Psychology, Faculty of Health and Medical Sciences*
>
> University of Surrey, Guildford GU2 7XH
>
> T.Auer at surrey.ac.uk
>
> @TiborAuer
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FTiborAuer&data=02%7C01%7Ct.auer%40surrey.ac.uk%7Cdb32da458c424eedef2908d7d4bd1421%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C637211780868086968&sdata=zrT5%2FnGGsar14C3WartuU99tzsfLu30Peh9fuaqrAUg%3D&reserved=0>
>
>
>
> *From:* fieldtrip <fieldtrip-bounces at science.ru.nl> *On Behalf Of *Vera
> Gramigna
> *Sent:* Thursday, February 18, 2021 5:44 PM
> *To:* fieldtrip at science.ru.nl
> *Subject:* [FieldTrip] Channels configuration from EEGLAB .set file is
> rotated in ft_topoplotER
>
>
>
> Hi,
>
> I performed preprocessing steps of my eegdata (Epoc+) using EEGLAB.
>
> As channel configurations, I considered a specific .ced file for Epoc+ and
> in EEGLAB I visualized the correct position of sensors in 2D plot.
>
> When I use FieldTrip for the spectral analysis, I imported the .set file.
>
> cfg = [];
>
> cfg.dataset     = 'MyDataset.set';
>
> data_eeg        = ft_preprocessing(cfg)
>
>
>
> When I visualize the result of ft_topoplotER, the configuration of sensors
> is rotated.
>
> In particular, the sensors O1 and O2 are on the left ear and nose on the
> right ear.
>
> When I fix this problem?
>
> Thanks a lot for your help
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210220/8b6828e8/attachment.htm>


More information about the fieldtrip mailing list