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