simnibs.mesh_tools.mesh_io.read_freesurfer_surface

simnibs.mesh_tools.mesh_io.read_freesurfer_surface(fn) Msh

Function to read FreeSurfer surface files. The vertex coordinates will be converted to scanner RAS.

Parameters:

fn (str) – Filename

Returns:

msh – Msh object containing the surface.

Return type:

Msh