eegdash.io.eeglab module#
MNE’s EEGLAB reader, tolerant of two struct layouts real deposits have.
Each fix wraps one helper of mne/io/eeglab/eeglab.py (MNE 1.13, unchanged on
main as of 2026-10-15) and is the diff proposed upstream (upstream/eeglab.md):
A
chanlocsfield empty on every channel comes back from pymatreader as one empty array, not one per channel (on004166:chanlocs.typeand.ref)._dol_to_lodthen raisesIndexErroror, when the empty field happens to come first, returns no channels at all (default namesEEG 000…).Events without a
typefield (on008496: one event,latencyonly) break_read_annotations_eeglab; they get the description"n/a".
- eegdash.io.eeglab.fixes()[source]
Patch MNE’s EEGLAB helpers while reading.
- eegdash.io.eeglab.read_raw_eeglab(input_fname, **kwargs)[source]
Read an EEGLAB file with
mne.io.read_raw_eeglab()underfixes().