averageRaDec

lsst.validate.drp.util.averageRaDec(ra, dec)[source]

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

Parameters:

ra : list of float

RA in [radians]

dec : list of float

Dec in [radians]

Returns:

float, float

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