code: def latsph(radius, lon, lat):
      
      radius = ctypes.c_double(radius)
      lon = ctypes.c_double(lon)
      lat = ctypes.c_double(lat)
      rho = ctypes.c_double()
      colat = ctypes.c_double()
      lons = ctypes.c_double()
      libspice.latsph_c(radius, lon, lat, ctypes.byref(rho), ctypes.byref(colat),
                        ctypes.byref(lons))
      return rho.value, colat.value, lons.value
docs: Convert from latitudinal coordinates to spherical coordinates.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/latsph_c.html
  
      :param radius: Distance of a point from the origin.
      :param lon: Angle of the point from the XZ plane in radians.
      :param lat: Angle of the point from the XY plane in radians.
      :return: (rho colat, lons)
      :rtype: tuple