The elements of the distance matrix returned by the radial_distance_utils.measure_radial_distance function correspond to the expanded angular arrays created by utils.expand_ang_list (using num_ribs and num_rib_pts), rather than the user-supplied toroidal_angles and poloidal_angles arrays.
For most use cases, it might be more useful to instead return a distance matrix whose elements correspond the toroidal_angles and poloidal_angles arrays. This would allow users to use the distances matrix directly to define component thickness matrices, rather than needing to index and slice it for direct use.
The elements of the distance matrix returned by the
radial_distance_utils.measure_radial_distance
function correspond to the expanded angular arrays created byutils.expand_ang_list
(usingnum_ribs
andnum_rib_pts
), rather than the user-suppliedtoroidal_angles
andpoloidal_angles
arrays.For most use cases, it might be more useful to instead return a distance matrix whose elements correspond the
toroidal_angles
andpoloidal_angles
arrays. This would allow users to use thedistances
matrix directly to define component thickness matrices, rather than needing to index and slice it for direct use.