averageRaDecFromCat

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

Calculate the average right ascension and declination from a catalog.

Convenience wrapper around averageRaDec

Parameters:
cat – collection with a .get method

for ‘coord_ra’, ‘coord_dec’ that returns radians.

Returns:
float, float

meanRa, meanDec – Tuple of average RA, Dec [radians]