- mne.write_events(filename, events, *, overwrite=False, verbose=None)#
Write events to file.
Name of the output file. If the extension is .fif, events are written in binary FIF format, otherwise (e.g., .eve, .lst, .txt) events are written as plain text. Note that new format event files do not contain the “time” column (used to be the second column).
int, shape (n_events, 3)
If True (default False), overwrite the destination file if it exists.