ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

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