openlifu.virtual_fit.sphere_from_interpolator

openlifu.virtual_fit.sphere_from_interpolator(interpolator: Callable[[float, float], float], theta_res: int = 50, phi_res: int = 50) vtkPolyData[source]

Create a spherical mesh from a spherical interpolator, to help visualize how the interpolator works. This is intended as a debugging utility.