[FieldTrip] fieldtrip Digest, Vol 153, Issue 1

Petar Atanasov PAtanasov at uclan.ac.uk
Tue Aug 1 12:13:19 CEST 2023


Good morning,
Thank you for the suggestion, I have now tried using 270 instead of -90 with cfg.rotate and the issue still persists.
Kind regards,

Petar Atanasov

________________________________
From: fieldtrip <fieldtrip-bounces at science.ru.nl> on behalf of fieldtrip-request at science.ru.nl <fieldtrip-request at science.ru.nl>
Sent: 01 August 2023 11:00
To: fieldtrip at science.ru.nl <fieldtrip at science.ru.nl>
Subject: fieldtrip Digest, Vol 153, Issue 1

[You don't often get email from fieldtrip-request at science.ru.nl. Learn why this is important at https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdN1awQVU$  ]

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

To subscribe or unsubscribe via the World Wide Web, visit
        https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fmailman.science.ru.nl*2Fmailman*2Flistinfo*2Ffieldtrip&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=ziryAH*2F7rAi1ea*2BR5gjFJbLdtdeprxfhlCWo*2FPRtOH4*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdn8a-sHc$ <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. Inquiry regarding "cfg.rotate" (Petar Atanasov)
   2. Re: Inquiry regarding "cfg.rotate" (Tom Marshall)


----------------------------------------------------------------------

Message: 1
Date: Tue, 1 Aug 2023 07:30:00 +0000
From: Petar Atanasov <PAtanasov at uclan.ac.uk>
To: "fieldtrip at science.ru.nl" <fieldtrip at science.ru.nl>
Subject: [FieldTrip] Inquiry regarding "cfg.rotate"
Message-ID:
        <VI1PR03MB2895CE5460B423241F88E4CEF205A at VI1PR03MB2895.eurprd03.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

Good evening,
I am currently analysing some co-registered eye-tracking and electroencephalography fixation-related potential (FRP) data.
I am using MATLAB 2022b but I have also replicated the issue with MATLAB 2020b.
For the pre-processing of the data, I have used EEGLAB 2023.0 as well as the EYE-EEG 0.99 and Unfold.

I have been trying to plot topographies and waveforms via the "ft_multiplotER" and the "ft_topoplotER" functions, such that my frontal electrodes are at the top of the image and the occipital electrodes are at the bottom of the image.
However, when I plot the data both with the default as well as with "-90" or "90" degree rotation via "cfg.rotate", my images always show frontal electrodes on the right and occipital electrodes on the left.

When I plot the channel locations with the same coordinates in EEGLAB I get the images with the correct orientation for all electrodes.

Can you please advice on how I may be able to rotate my images correctly and why is it that "cfg.rotate" may not be working as expected?

I am happy to provide further information as needed.
Thank you in advance for your feedback and assistance with my inquiry.
Kind regards,

Petar Atanasov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fmailman.science.ru.nl*2Fpipermail*2Ffieldtrip*2Fattachments*2F20230801*2F0cf3fc67*2Fattachment-0001.htm&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=8BJfj9Fmyagp3ZF3YCLCVZBrNn*2B92AwvBfNC4emf5CI*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdPoEmZQc$ <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230801/0cf3fc67/attachment-0001.htm>>

------------------------------

Message: 2
Date: Tue, 1 Aug 2023 08:50:44 +0000
From: Tom Marshall <tom.marshall at psy.ox.ac.uk>
To: FieldTrip discussion list <fieldtrip at science.ru.nl>
Subject: Re: [FieldTrip] Inquiry regarding "cfg.rotate"
Message-ID: <5DF104D5-14E8-41F4-A58A-620A2DF6CC75 at psy.ox.ac.uk>
Content-Type: text/plain; charset="utf-8"

Hi Petar,

If you replace ‘-90’ with ‘270’, does that produce the rotation you want?

Just a hunch, based on Robert’s suggestion in https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2F*2Fgithub.com*2Ffieldtrip*2Ffieldtrip*2Fissues*2F1674__*3B!!HJOPV4FYYWzcc1jazlU!60QKCY0R3GJgesY3D65R61rkvsPCyUDVpHSnavjhWSDCpQ2Vu-BW3lZhV1WPd6hmlTyBG01GQtvtkIb4n2sca54o-uJkN7VJ*24&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=LZCZUOEaZJ4h0qqI4ebvFewBCE8dJ3uPnhTBZfjTrnY*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdt3-M53U$ <https://urldefense.com/v3/__https://github.com/fieldtrip/fieldtrip/issues/1674__;!!HJOPV4FYYWzcc1jazlU!60QKCY0R3GJgesY3D65R61rkvsPCyUDVpHSnavjhWSDCpQ2Vu-BW3lZhV1WPd6hmlTyBG01GQtvtkIb4n2sca54o-uJkN7VJ$> .

Best,
Tom


From: fieldtrip <fieldtrip-bounces at science.ru.nl> on behalf of Petar Atanasov via fieldtrip <fieldtrip at science.ru.nl>
Reply to: FieldTrip discussion list <fieldtrip at science.ru.nl>
Date: Tuesday, 1 August 2023 at 09:19
To: "fieldtrip at science.ru.nl" <fieldtrip at science.ru.nl>
Cc: Petar Atanasov <PAtanasov at uclan.ac.uk>
Subject: [FieldTrip] Inquiry regarding "cfg.rotate"

Good evening,
I am currently analysing some co-registered eye-tracking and electroencephalography fixation-related potential (FRP) data.
I am using MATLAB 2022b but I have also replicated the issue with MATLAB 2020b.
For the pre-processing of the data, I have used EEGLAB 2023.0 as well as the EYE-EEG 0.99 and Unfold.

I have been trying to plot topographies and waveforms via the "ft_multiplotER" and the "ft_topoplotER" functions, such that my frontal electrodes are at the top of the image and the occipital electrodes are at the bottom of the image.
However, when I plot the data both with the default as well as with "-90" or "90" degree rotation via "cfg.rotate", my images always show frontal electrodes on the right and occipital electrodes on the left.

When I plot the channel locations with the same coordinates in EEGLAB I get the images with the correct orientation for all electrodes.

Can you please advice on how I may be able to rotate my images correctly and why is it that "cfg.rotate" may not be working as expected?

I am happy to provide further information as needed.
Thank you in advance for your feedback and assistance with my inquiry.
Kind regards,

Petar Atanasov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fmailman.science.ru.nl*2Fpipermail*2Ffieldtrip*2Fattachments*2F20230801*2F2247eb25*2Fattachment-0001.htm&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=f4kHPD5lITSUzhHwfRE1w8C157u8eD3hXBwv0nBwC6E*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPd81LunKs$ <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230801/2247eb25/attachment-0001.htm>>

------------------------------

Subject: Digest Footer

_______________________________________________
fieldtrip mailing list
https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fmailman.science.ru.nl*2Fmailman*2Flistinfo*2Ffieldtrip&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=ziryAH*2F7rAi1ea*2BR5gjFJbLdtdeprxfhlCWo*2FPRtOH4*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdn8a-sHc$ <https://mailman.science.ru.nl/mailman/listinfo/fieldtrip>
_______________________________________________
fieldtrip mailing list
https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fmailman.science.ru.nl*2Fmailman*2Flistinfo*2Ffieldtrip&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=ziryAH*2F7rAi1ea*2BR5gjFJbLdtdeprxfhlCWo*2FPRtOH4*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdn8a-sHc$ <https://mailman.science.ru.nl/mailman/listinfo/fieldtrip>
https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fdoi.org*2F10.1371*2Fjournal.pcbi.1002202&data=05*7C01*7Cpatanasov*40uclan.ac.uk*7Cd770fb746c5240beed0608db92769b60*7Cebf69982036b4cc4b2027aeb194c5065*7C0*7C0*7C638264810352946528*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=fEjV3X1aEc2s7qZZ1*2FxPLZsC*2BjRTod0q4vBs8xfhI90*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdT5RZYIk$ <https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!8iTHHIwQdSFfHeM4kISO2yK0F6SHSGWcyQuoRnsy-cp-IzOyAJyWoFoY1zdweZTiwvPn_qyO3DQLvEZgjgPdr1Ia0GI$ >


------------------------------

End of fieldtrip Digest, Vol 153, Issue 1
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230801/a66a6115/attachment.htm>


More information about the fieldtrip mailing list