construct_mesh_from_coeffs#
- construct_mesh_from_coeffs(coeffs: DataFrame, order: int, prefix: str = '', suffix: str = '', scale: float = 1.0) vtkPolyData [source]#
Construct a mesh from spherical harmonic coefficients.
- Parameters:
coeffs – Spherical harmonic coefficients.
order – Order of the spherical harmonics coefficient parametrization.
prefix – Prefix string for all coefficient columns.
suffix – Suffix string for all coefficient columns.
scale – Scale factor for mesh points.
- Returns:
Mesh object.