eq2xyzVec

lsst.pipe.tasks.associationUtils.eq2xyzVec(ra, dec)

Convert equatorial ra,dec in degrees to x,y,z on the unit sphere parameters

Vectorized version of eq2xyz

Parameters:
ra : array_like, (N,)

Array of RA in degrees.

dec : array_like, (N,)

Declination in degrees

Returns:
vec : numpy.ndarray, (N,3)

Array of unitsphere 3-vectors.