NaviNIBS.Navigator.Model.HeadModel module

Bases: object

Parameters:
  • _filepath – Path to .msh file in simnibs folder. (note that .msh file and other nested files in same parent dir will be used)

  • _skinSurfFilepath – Path to skin surface mesh file, if not provided will be loaded from simnibs results folder.

  • _gmSurfFilepath – Path to gray matter surface mesh file, if not provided will be loaded from simnibs results folder.

  • _meshToMRITransform – “ Optional 4x4 transform matrix to convert mesh coordinates to MRI coordinates. Applied to all meshes when loading. Should not be needed in typical use cases.

Path to .msh file in simnibs folder. (note that .msh file and other nested files in same parent dir will be used)

Path to skin surface mesh file, if not provided will be loaded from simnibs results folder.

Path to gray matter surface mesh file, if not provided will be loaded from simnibs results folder.

” Optional 4x4 transform matrix to convert mesh coordinates to MRI coordinates. Applied to all meshes when loading. Should not be needed in typical use cases.

Emitted when main .msh or manually specified skin or gray matter surface mesh filepaths change.

emits key which indicating what changed, e.g. which=’gmSurf’; if None all should be assumed to have changed

Return type:

Optional[ndarray]

Different than skinSurfPath, this is only not None if explicitly set.

Return type:

Optional[str]

Different than gmSurfPath, this is only not None if explicitly set.

Return type:

Optional[str]

Simplified version of gmSurf mesh, for faster plotting.

Simplified version of skinSurf mesh, for faster plotting.

Return type:

Dict[str, Any]

Return type:

HeadModel

Return type:

None