calculate_source_fov_position_angle

pyirf.utils.calculate_source_fov_position_angle(events, prefix='true')[source]

Calculate position_angle of true positions relative to pointing positions.

Parameters:
eventsastropy.QTable

Astropy Table object containing the reconstructed events information.

prefix: str

Column prefix for az / alt, can be used to calculate reco or true source fov position_angle.

Returns:
phi: astropy.units.Quantity

Position angle of the true positions relative to the pointing positions in the sky.