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:
array : numpy.ndarray, (N, 2)

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

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

Vectors on the unit sphere