Import ANT neuro's channel labels into eeglab

12 views (last 30 days)
Hello everyone!
I am acquiring eeg data with the ANT neuro's 64-channel system and I want to use eeglab to analyse the data. I am using Lab Streaming Layer (LSL) as software for data acquisition, which saves the file in .xdf format. One problem that I am facing is that the electrodes are labelled as numbers, from 1 to 65 (because I have an EOG channel), and I would like them to be labelled following the 10-20 international system (so Fz, Cz, etc), this way the "source" from which the signal comes from will be much more clear. I am not interested in a source estimation, so I don't need anatomical precision, but I want to get the PSD under some electrodes to evaluate cognitive workload.
I have found the label field in the structure dataset, however, I don't know how to import those labels from the LSL dataset to the EEG data stracture created in eeglab (because this is what you're supposed to do right?), to then read them with the eeglab GUI.
Unfortunately on the internet I could not find any helpful solution. Can somebody help me out please?
Thank you in advance!
Luca
  1 Comment
shaoting yan
shaoting yan on 1 Jul 2022
You can pass the command EEG.chanlocs(1).labels='F1'; to transfer the first label to eeglab's eeg structure, and so on. By the way, could you please give me the channel labels you got, thank you very much

Sign in to comment.

Answers (0)

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!