I/O support for EEGLAB files in Python.
Install from PyPI:
pip install eeglabioInstall from Test PyPI (built from stable branch):
pip install -i https://test.pypi.org/simple/ eeglabioInstall from conda-forge:
conda install -c conda-forge eeglabioInstall the latest version of the code from GitHub directly (unstable):
pip install https://github.com/jackz314/eeglabio/archive/main.zipeeglabio requires Python >= 3.10 and the following packages:
Exporting to the MATLAB v7.3 (HDF5) format, needed for 2 GB or more of data, also requires h5py.
For testing, we also require the following additional packages:
Example Usage (with MNE)
Export from MNE Epochs to EEGLAB (.set):
import mne
from eeglabio.utils import export_mne_epochs
epochs = mne.Epochs(...)
export_mne_epochs(epochs, "file_name.set")Export from MNE Raw to EEGLAB (.set):
import mne
from eeglabio.utils import export_mne_raw
raw = mne.io.read_raw(...)
export_mne_raw(raw, "file_name.set")