<div dir="ltr">Hi Jan-Mathijs,<div><br></div><div>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. </div><div><br></div><div>Best wishes,</div><div><br></div><div>Zhi Li</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Jul 2022 at 12:01, Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">
Hi Zhi Li,
<div><br>
</div>
<div>I am unfamiliar with the way in which EEGLAB deals with sensor/electrode positions, and how these are read from the data file. </div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div> <br>
<div><br>
<blockquote type="cite">
<div>On 30 Jun 2022, at 22:07, Zhi Li via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I would like to use ICA and IClabel in EEGLAB to detect artefacts in my MEG data. But no matter if I used <i>fieldtrip2eeglab</i> or <i>pop_fileio</i>, the<i> </i>gradiometer channel positions cannot be correctly extracted from the
ctf275 .ds folder. The channel positions in eeglab format <i>EEG</i> are all empty.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>May I ask how I could transform the MEG channel position from FieldTrip to EEGLAB appropriately, or is there any other solution? Many thanks.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Zhi Li</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4nlSbH_0GXpYql1b5BdmOauGlwBmYWcD-GcO2tTXUsfc7B01vIZIOnzrL6yddIU4oGwbRSce4zkCW-a0CZssZMEWx9fEFWyg2DIGqA$" target="_blank">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4nlSbH_0GXpYql1b5BdmOauGlwBmYWcD-GcO2tTXUsfc7B01vIZIOnzrL6yddIU4oGwbRSce4zkCW-a0CZssZMEWx9fEFWyg2DIGqA$</a>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>