eq2xyz

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

Convert from equatorial ra,dec in degrees to x,y,z on unit sphere.

Parameters:
ra : float

RA in degrees.

dec : float

Declination in degrees

Returns:
xyz : numpy.ndarray, (3,)

Float xyz positions on the unit sphere.