eq2xyz#

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

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

Parameters#

rafloat

RA in degrees.

decfloat

Declination in degrees

Returns#

xyznumpy.ndarray, (3,)

Float xyz positions on the unit sphere.