simnibs.write_freesurfer_surface

simnibs.write_freesurfer_surface(msh, fn, write_standard_header: bool = True)

Writes a FreeSurfer surface Only the surfaces (triangles) are writen to the FreeSurfer surface file

Parameters:
  • msh (Msh()) – Mesh structure

  • fn (str) – output file name

  • write_standard_header (bool, optional) – If True, writes the standard header. If False, writes no header, by default True