-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read_raw_eeglab does not read nasion, lpa and rpa values from .set file #10474
Comments
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
can you share a file to replicate?
thanks
… Message ID: ***@***.***>
|
Sure. Here is the EEGLAB sample data. Note: when we add back the landmarks in the MNE raw object and we save the file as a .set file, the urchanlocs is not being saved either and therefore, we lose the landmark locations when saving the file too. |
@cmadjar can you point me where to read the fiducial locations in the EEG structure: loading the file in matlab I see
|
@alexandrebarachant Apologies, looks like the eeglab_data.set do not have data in the I don't think I can share that dataset unfortunately. I will ask the owner if it is possible to share it with you, just in case. |
it's @agramfort not @alexandrebarachant :) I need such a file to debug |
@agramfort I can share the file with you. What is the best way to send it to you? Probably best not to share it openly on GitHub just in case. Thanks! |
you can send me a download link to this email ***@***.***
… Message ID: ***@***.***>
|
@agramfort I cannot see the email unfortunately |
see contact section in http://alexandre.gramfort.net
… Message ID: ***@***.***>
|
diagnostic : we read only chanlocs and not urchanlocs. @cmadjar has a file where urchanlocs are chanlocs concatenated with 3 fiducials (it's therefore partially the same information). what shall we do? Give priorirty to urchanlocs if present? I don't know where to find the information. |
The Fiducials are in EEG.chaninfo.nodatchans |
thx @arnodelorme may I ask 2 side questions:
do not hesitate to point me to the EEGLAB doc. 🙏 |
Hello @agramfort,
Thanks! |
… Message ID: ***@***.***>
|
Ur is for original. You should not need to access that structure.
The type of the channel should help. From your description, it might be channels the user removed and not fiducials. Usually Fiducials have the name LPA RPA etc. sometimes fiducials are not included.
… On Apr 11, 2022, at 09:25, Alexandre Gramfort ***@***.***> wrote:
thx @arnodelorme
may I ask 2 side questions:
what is the difference between chanlocs and urchanlocs? what does "ur" refer to?
I do have things in EEG.chaninfo.nodatchans but the labels are E130, E131, E132. Can we assume a specific order in this list? It's always 3 values and it's Nasion, LPA and RPA?
do not hesitate to point me to the EEGLAB doc. 🙏
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Describe the bug
read_raw_eeglab
does not read properly the nasion, lpa and rpa coordinates of a.set
file.Steps to reproduce
This can be reproduced on the sample data
eeglab_data.set
file that comes with EEGLAB.However, when looking in the Matlab structure, the coordinates for nasion, lpa and rpa are indeed present in the file. So for some reason, this gets lost when loading the
.set
file withread_raw_eeglab
Additional information
Reproduced on several versions of mne and different OS.
Latest information:
The text was updated successfully, but these errors were encountered: