mne.read_trans#

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

Read a -trans.fif file.

Parameters:
fnamepath-like

The name of the file.

return_allbool

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

New in v0.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#

Working with CTF data: the Brainstorm auditory dataset

Working with CTF data: the Brainstorm auditory dataset

Source alignment and coordinate frames

Source alignment and coordinate frames

How MNE uses FreeSurfer’s outputs

How MNE uses FreeSurfer's outputs

The role of dipole orientations in distributed source localization

The role of dipole orientations in distributed source localization

Plotting with mne.viz.Brain

Plotting with mne.viz.Brain

Plotting EEG sensors on the scalp

Plotting EEG sensors on the scalp