mne.read_tri(fname_in, swap=False, verbose=None)[source]

Read triangle definitions from an ascii file.

fname_in : str

Path to surface ASCII file (ending with ‘.tri’).

swap : bool

Assume the ASCII file vertex ordering is clockwise instead of counterclockwise.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

rr : array, shape=(n_vertices, 3)

Coordinate points.

tris : int array, shape=(n_faces, 3)

Triangulation (each line contains indices for three points which together form a face).


New in version 0.13.0.