mne.read_tri

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

Read triangle definitions from an ascii file.

Parameters:

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).

Returns:

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).

Notes

New in version 0.13.0.