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

Export evoked dataset to external formats.

This function is a wrapper for format-specific export functions. The export function is selected based on the inferred file format. For additional options, use the format-specific functions.

Supported formats

MFF (mff, uses mne.export.export_evokeds_mff())


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 mne.write_evokeds() instead.


Name of the output file.

evokedEvoked instance, or list of Evoked instances

The evoked dataset, or list of evoked datasets, to export to one file. Note that the measurement info from the first evoked instance is used, so be sure that information matches.

fmt‘auto’ | ‘mff’

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.


New in version 0.24.