pyvale.verif.pointsens module¶
DEVELOPER VERIFICATION MODULE¶
This module contains developer utility functions used for verification testing of the point sensor simulation toolbox in pyvale.
Specifically, this module contains generic functions used across all types of point sensors.
- joggle_meshfree_coords(coords, scale_factor=1e-10, seed=123)[source]¶
Apply a deterministic perturbation to coordinate point clouds to break geometric degeneracies (e.g. co-circular/co-spherical points) in Delaunay triangulation across platforms and architectures.
Preserves bounding box planes so that sensors placed on outer faces remain inside the convex hull without producing out-of-bounds NaNs.
- Parameters:
- Returns:
np.ndarray– Perturbed coordinates array with shape (n_nodes, 3).