craftutils.astrometry.calculate_error_ellipse(frb: str | dict, error: str = 'quadrature')

Calculates the parameters of the uncertainty ellipse of an FRB, for use in plotting. :param frb: Either a string specifying the FRB, which must have a corresponding .yaml file in /param/FRBs, or a

dictionary containing the same information.

Parameters
error: str = 'quadrature'

String specifying the type of error calculation to use. Available options are ‘quadrature’, which provides the quadrature sum of statistical and systematic uncertainty; ‘systematic’; and ‘statistical’.

Returns

(a, b, theta) as floats in a tuple, in units of degrees.