calculate_disp#
- magicctapipe.utils.calculate_disp(pointing_alt, pointing_az, shower_alt, shower_az, cog_x, cog_y, camera_frame)[source]#
Calculates the DISP parameter, i.e., the angular distance between the event arrival direction and the Center of Gravity (CoG) of the shower image.
- Parameters:
- pointing_alt
astropy.units.quantity.Quantity Altitude of the telescope pointing direction
- pointing_az
astropy.units.quantity.Quantity Azimuth of the telescope pointing direction
- shower_alt
astropy.units.quantity.Quantity Altitude of the event arrival direction
- shower_az
astropy.units.quantity.Quantity Azimuth of the event arrival direction
- cog_x
astropy.units.quantity.Quantity Image CoG along the X coordinate of the camera geometry
- cog_y
astropy.units.quantity.Quantity Image CoG along the Y coordinate of the camera geometry
- camera_frame
ctapipe.coordinates.camera_frame.CameraFrame Camera frame of the telescope
- pointing_alt
- Returns:
astropy.units.quantity.QuantityDISP parameter