mne.read_trans

mne.read_trans(fname, return_all=False)[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.

Returns
transdict | list of dict

The transformation dictionary from the fif file.