A robot calibration log can contain hundreds of frames while still sampling the tool axis from similar directions. To inspect the spread, express each accepted tool-axis direction in a common reference frame and place it on a unit sphere. A spherical Voronoi diagram assigns each point on that sphere to a nearest sampled direction. Large cells mark directions that represent wider parts of the sphere and are a practical place to inspect for sparse sampling.
Report a solid angle
SciPy's SphericalVoronoi.calculate_areas returns surface areas for three-dimensional points on a sphere. Doubling the sphere's radius multiplies all areas by four. The directions stay the same. Divide a cell's surface area by the radius squared to recover its solid angle in steradians. On a unit sphere the area values and solid angle values have the same numerical magnitude.
A tetrahedron makes a useful symmetry fixture. Its four vertex directions are evenly arranged around the origin and have congruent cells. Each cell covers one quarter of the sphere. The test below checks the four cells separately as well as the total. A total check alone would pass for many uneven sets of directions.
import numpy as np
from scipy.spatial import SphericalVoronoi
unit_dirs = np.array([
[1, 1, 1], [1, -1, -1],
[-1, 1, -1], [-1, -1, 1],
]) / np.sqrt(3)
radius = 2.0
cells = SphericalVoronoi(radius * unit_dirs, radius=radius)
solid_sr = cells.calculate_areas() / radius**2
np.testing.assert_allclose(solid_sr, np.full(4, np.pi))
np.testing.assert_allclose(solid_sr.sum(), 4 * np.pi)
Running this fixture returned approximately 3.14159 sr for each cell. Evaluating the same four directions on a unit sphere produced the same solid angles. A pipeline that reports the raw radius-two areas in steradians would overstate every cell by a factor of four.
Read the cell sizes alongside sample quality
Keep a count of accepted observations per direction and record how nearly identical directions were grouped. SciPy checks for duplicate points and expects the input samples to match the stated sphere, so test vector lengths before building the diagram. Plot the largest cells against the reachable orientation envelope before planning additional captures. The tessellation covers the full sphere even when the robot can only reach part of it.
A tool axis captures two degrees of orientation. If rotation about the axis matters for target detection or calibration, log that rotation alongside the directional coverage. Check the fit residuals separately to judge how well the observations constrain the calibration.
Sources
https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.SphericalVoronoi.calculate_areas.html
https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-4-two-classes-si-units-and-si-prefixes