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.

rotation_matrix_2d#

ctapipe.utils.linalg.rotation_matrix_2d(angle)[source]#

construct a 2D rotation matrix as a numpy NDArray that rotates a vector clockwise. Angle should be any object that can be converted into an astropy.coordinates.Angle