/eeglabio

I/O support for EEGLAB files in Python.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

eeglabio Documentation Status Test & Publish PyPI version Conda Version

I/O support for EEGLAB files in Python.

Installation

Install from PyPI:

pip install eeglabio

Install from Test PyPI (built from stable branch):

pip install -i https://test.pypi.org/simple/ eeglabio

Install from conda-forge:

conda install -c conda-forge eeglabio

Install the latest version of the code from GitHub directly (unstable):

pip install https://github.com/jackz314/eeglabio/archive/main.zip

Dependencies

eeglabio 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")