mne.write_trans#

mne.write_trans(fname, trans, *, overwrite=False, verbose=None)[source]#

Write a -trans.fif file.

Parameters:
fnamepath-like

The name of the file, which should end in -trans.fif.

transdict

Trans file data, as returned by read_trans.

overwritebool

If True (default False), overwrite the destination file if it exists.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

See also

read_trans