mne.read_trans

mne.read_trans(fname, return_all=False, verbose=None)[source]

Read a -trans.fif file.

Parameters
fnamestr

The name of the file.

return_allbool

If True, return all transformations in the file. False (default) will only return the first.

New in version 0.15.

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.

Returns
transdict | list of dict

The transformation dictionary from the fif file.

Examples using mne.read_trans