mne.read_tri#
- mne.read_tri(fname_in, swap=False, verbose=None)[source]#
Read triangle definitions from an ascii file.
- Parameters:
- fname_inpath-like
Path to surface ASCII file (ending with
'.tri').- swapbool
Assume the ASCII file vertex ordering is clockwise instead of counterclockwise.
- verbosebool |
str|int|None Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- Returns:
- rr
array, shape=(n_vertices, 3) Coordinate points.
- tris
intarray, shape=(n_faces, 3) Triangulation (each line contains indices for three points which together form a face).
- rr
See also
Notes
New in v0.13.0.