averageRaDecFromCat

lsst.validate.drp.util.averageRaDecFromCat(cat)

Calculate the average right ascension and declination from a catalog.

Convenience wrapper around averageRaDec

Parameters:
cat : collection

Object with .get method for ‘coord_ra’, ‘coord_dec’ that returns radians.

Returns:
ra_mean : float

Mean RA in radians.

dec_mean : float

Mean Dec in radians.