calculate_source_fov_offset

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

Calculate angular separation between true and 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 offset.

Returns:
theta: astropy.units.Quantity

Angular separation between the true and pointing positions in the sky.