mne.export.export_epochs

mne.export.export_epochs(fname, epochs, fmt='auto', verbose=None)[source]

Export Epochs to external formats.

Supported formats: EEGLAB (set, uses eeglabio)

Warning

Since we are exporting to external formats, there’s no guarantee that all the info will be preserved in the external format. To save in native MNE format (.fif) without information loss, use

Parameters
fnamestr

Name of the output file.

epochsinstance of Epochs

The epochs to export.

fmt‘auto’ | ‘eeglab’ | ‘edf’

Format of the export. Defaults to 'auto', which will infer the format from the filename extension. See supported formats above for more information.

verbosebool | str | int | None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Notes

For EEGLAB exports, channel locations are expanded to full EEGLAB format. For more details see eeglabio.utils.cart_to_eeglab().