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.6 and the following packages:
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")