Skip to content
jackz314Public

About

I/O support for EEGLAB files in Python.

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Repository files navigation

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

About

I/O support for EEGLAB files in Python.

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages