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.

shower_impact_distance#

ctapipe.coordinates.shower_impact_distance(shower_geom: ReconstructedGeometryContainer | SimulatedShowerContainer, subarray)[source]#

computes the impact distance of the shower axis to the telescope positions

Parameters:
shower_geomReconstructedGeometryContainer

reconstructed shower geometry, must contain a core and alt/az position

subarraySubarrayDescription

SubarrayDescription from which to extract the telescope positions

Returns:
Quantity[m]

array of impact distances to each telescope (packed by tel index)