[FieldTrip] CTF275 MEG channel position from FieldTrip to EEGLAB

Arnaud Delorme arnodelorme at gmail.com
Mon Jul 11 23:48:57 CEST 2022


Hi Zhi Li, 

You cannot use IClabel to detect ICA artifactual components because MEG components will be different than EEG components, and IClabel has been trained with EEG components. You would need a version of ICLabel that is trained with MEG components (there is no such version to my knowledge). This page describes how to go back and forth between Fieldtrip and EEGLAB https://eeglab.org/others/EEGLAB_and_Fieldtrip.html

Cheers,

Arno


> On Jul 6, 2022, at 2:27 PM, Zhi Li via fieldtrip <fieldtrip at science.ru.nl> wrote:
> 
> Hi Jan-Mathijs,
> 
> Many thanks for your kind reply. I have solved this problem by adding the ctf275 channel type to the source code for data reading. I'd like to use IClabel which is a plugin of EEGLAB to label the components automatically. 
> 
> Best wishes,
> 
> Zhi Li
> 
> On Wed, 6 Jul 2022 at 12:01, Schoffelen, J.M. (Jan Mathijs) via fieldtrip <fieldtrip at science.ru.nl> wrote:
> Hi Zhi Li,
> 
> I am unfamiliar with the way in which EEGLAB deals with sensor/electrode positions, and how these are read from the data file. 
> 
> On the other hand it is unclear to me what your actual problem is. Is it only a matter of visualization (because for ICA the sensor positions are not needed)? Have you checked the EEGLAB documentation?
> 
> Since you are asking for another solution: you can also do the ICA in fieldtrip, there’s no need to go to eeglab for that.
> 
> Best wishes,
> Jan-Mathijs
>  
> 
>> On 30 Jun 2022, at 22:07, Zhi Li via fieldtrip <fieldtrip at science.ru.nl> wrote:
>> 
>> Hi,
>> 
>> I would like to use ICA and IClabel in EEGLAB to detect artefacts in my MEG data. But no matter if I used fieldtrip2eeglab or pop_fileio, the gradiometer channel positions cannot be correctly extracted from the ctf275 .ds folder. The channel positions in eeglab format EEG are all empty.
>> 
>> I tried to copy the channel information directly from the header of the ctf275 data folder but the MEG channels cannot be projected on the 2-D map appropriately. It seems like the channel position in the MEG data imported by FieldTrip are the real locations of the MEG helmet and their unit is cm. whereas the channel position in EEGLAB is based on the 10-10 system which is already on the scalp. Hence the projected channels on the scalp are all misplaced if I use the raw XYZ from the header of ctf275 data.
>> 
>> May I ask how I could transform the MEG channel position from FieldTrip to EEGLAB appropriately, or is there any other solution? Many thanks.
>> 
>> Best regards,
>> 
>> Zhi Li
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4nlSbH_0GXpYql1b5BdmOauGlwBmYWcD-GcO2tTXUsfc7B01vIZIOnzrL6yddIU4oGwbRSce4zkCW-a0CZssZMEWx9fEFWyg2DIGqA$ 
> 
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202




More information about the fieldtrip mailing list