impact_distance¶
-
ctapipe.coordinates.
impact_distance
(point: numpy.ndarray, direction: numpy.ndarray, test_points: numpy.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