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
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