construct_mesh_from_points#

construct_mesh_from_points(pca: PCA, points: ndarray, feature_names: list[str], order: int, prefix: str = '', suffix: str = '') vtkPolyData[source]#

Construct mesh given PCA transformation points.

Parameters:
  • pca – Fit PCA object.

  • points – Select point in PC space.

  • feature_names – Spherical harmonics coefficient names.

  • order – Order of the spherical harmonics coefficient parametrization.

  • prefix – Prefix string for all coefficient columns.

  • suffix – Suffix string for all coefficient columns.

Returns:

Mesh object.