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, or 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.

Returns
transdict | list of dict

The transformation dictionary from the fif file.

Examples using mne.read_trans