openlifu.virtual_fit.VirtualFitDebugInfo

class openlifu.virtual_fit.VirtualFitDebugInfo(skin_mesh: vtkPolyData, spherically_interpolated_mesh: vtkPolyData, search_points: ndarray, plane_normals: ndarray, steering_dists: ndarray, in_bounds: ndarray)[source]

Bases: object

Debugging information for the result of running virtual_fit.

in_bounds: ndarray

Boolean array of shape (N,) giving for each point in search_points whether the target was determined to be in bounds for that candidate transducer placement.

plane_normals: ndarray

Array of shape (N,3) containing the normal vectors of the planes that were fitted at each of search_points

search_points: ndarray

Array of shape (N,3) containing the coordinates of the points that were tried for virtual fitting

skin_mesh: vtkPolyData

The skin mesh that was used for virtual fitting

spherically_interpolated_mesh: vtkPolyData

A mesh representing the spherical interpolator that was used for virtual fitting

steering_dists: ndarray

Array of shape (N,) containing the computed steering distance for each point in search_points