impact_distance#
- ctapipe.coordinates.impact_distance(point: ndarray, direction: ndarray, test_points: ndarray)[source]#
Compute impact distance from a line defined by a point and a direction vector with an array of points
- Parameters:
- point: np.ndarray
point defining the line
- direction: np.ndarray
direction vector
- test_points: np.ndarray
array of test points