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:
raarray_like, (N,)

Array of RA in degrees.

decarray_like, (N,)

Declination in degrees

Returns:
vecnumpy.ndarray, (N,3)

Array of unitsphere 3-vectors.