averageRaDec

lsst.validate.drp.util.averageRaDec(ra, dec)

Calculate average RA, Dec from input lists using spherical geometry.

Parameters:
ra : list [float]

RA in [radians]

dec : list [float]

Dec in [radians]

Returns:
float, float

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