spherical_from_cartesian

rubin_sim.utils.spherical_from_cartesian(xyz)

Transforms between Cartesian and spherical coordinates

@param [in] xyz is a numpy array of points in 3-D space. Each row is a different point.

@param [out] returns longitude and latitude

All angles are in radians

Also, look at ra_dec_from_xyz().