meegpype.interfaces.mne.decimate_surface moduleđź”—

class meegpype.interfaces.mne.decimate_surface.DecimateSurface(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)đź”—

Bases: BaseInterface

Mandatory Inputs:
  • input_surface (a string or os.PathLike object) – The path to a Freesurfer surface mesh in triangular format.

  • method (a string) – Can be “quadric” or “sphere”. “sphere” will inflate the surface to a sphere using Freesurfer and downsample to an icosahedral or octahedral mesh.

  • n_triangles (an integer) – He desired number of triangles.

  • output_surface (a string or os.PathLike object) – The path to the decimated output surface mesh.

Outputs:

output_surface (a string or os.PathLike object referring to an existing file) – The path to the decimated output surface mesh.