This documentation is for development version 0.18.dev0.

mne.read_trans

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

Read a -trans.fif file.

Parameters:
fname : str

The name of the file.

return_all : bool

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

New in version 0.15.

Returns:
trans : dict | list of dict

The transformation dictionary from the fif file.