@spiceErrorCheck<EOL>def sphlat(r, colat, lons):
r = ctypes.c_double(r)<EOL>colat = ctypes.c_double(colat)<EOL>lons = ctypes.c_double(lons)<EOL>radius = ctypes.c_double()<EOL>lon = ctypes.c_double()<EOL>lat = ctypes.c_double()<EOL>libspice.sphcyl_c(r, colat, lons, ctypes.byref(radius), ctypes.byref(lon),<EOL>ctypes.byref(lat))<EOL>return radius.value, lon.value, lat.value<EOL>
Convert from spherical coordinates to latitudinal coordinates.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/sphlat_c.html

:param r: Distance of the point from the origin.
:type r: float
:param colat: Angle of the point from positive z axis (radians).
:type colat: float
:param lons: Angle of the point from the XZ plane (radians).
:type lons: float
:return:
        Distance of a point from the origin,
        Angle of the point from the XZ plane in radians,
        Angle of the point from the XY plane in radians.
:rtype: tuple