convert_spherical_array

lsst.pipe.tasks.associationUtils.convert_spherical_array(array)

Convert from and a array ra,dec to spherical coordinates.

Used in query_disc

Parameters:
arraynumpy.ndarray, (N, 2)

(N, 2) Array of RA, DEC values.

Returns:
vecsnumpy.ndarray, (N, 3)

Vectors on the unit sphere