Simply EEGLAB
Channel locations
Station 2 · Lesson 2 · EEGLAB 2026.1
In the GUI
- Channel locations
No (labels only) - EditChannel locations
- Look up channel locations?
- use MNI coordinate file for BEM dipfit model
standard_1005.elc - Import file instead and erase all channels
- OK
64 channel with the same label found and imported - OK
Script
[ALLEEG, EEG, CURRENTSET, ALLCOM] = eeglab;
dataFolder = 'C:\Users\me\Documents\eeg-course'; % change it
EEG = pop_loadset('filename', 'S001R03.set', 'filepath', dataFolder);
[ALLEEG, EEG, CURRENTSET] = eeg_store(ALLEEG, EEG, 0);
for iChan = 1:EEG.nbchan
EEG.chanlocs(iChan).labels = strrep(EEG.chanlocs(iChan).labels, '.', '');
end
EEG = pop_chanedit(EEG, 'lookup', 'standard_1005.elc');
EEG = eeg_checkset(EEG);
figure; topoplot([], EEG.chanlocs, 'style', 'blank', ...
'electrodes', 'labelpoint', 'chaninfo', EEG.chaninfo);
EEG = pop_saveset(EEG, 'savemode', 'resave');
[ALLEEG, EEG, CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);
eeglab redrawWhich value should I choose?
| Source | When to use it | How |
|---|---|---|
Standard MNI template (standard_1005.elc) | Your cap uses standard 10-20 or 10-10 names, and you did not measure the positions. This is our case. | The default choice in Look up channel locations? |
| Your cap's own location file (from the manufacturer) | Your system's channel names are not standard, such as numbers E1, E2 | Read locations in the channel editing window |
| Positions measured on the participant's head | You digitized the electrodes at the recording session | Read locations with the digitizer's file |
Check
- The Channel locations line in the main window shows
Yes - The Command Window printed
64 channel with the same label found and imported - Plot > Channel locations > By name shows 64 electrodes:
Czin the center,Fpzat the front,Ozat the back all(~cellfun(@isempty, {EEG.chanlocs.X}))gives1: every channel has coordinates
For your Methods
Channel labels were cleaned of trailing periods and matched to the standard 10-5 template in MNI space (standard_1005.elc) with pop_chanedit (EEGLAB 2026.1).