# mne.write_evokeds¶

mne.write_evokeds(fname, evoked)[source]

Write an evoked dataset to a file.

Parameters: fname : string The file name, which should end with -ave.fif or -ave.fif.gz. evoked : Evoked instance, or list of Evoked instances The evoked dataset, or list of evoked datasets, to save in one file. Note that the measurement info from the first evoked instance is used, so be sure that information matches.