def spkltc(targ, et, ref, abcorr, stobs):
    """
    Return the state (position and velocity) of a target body
    relative to an observer, optionally corrected for light time,
    expressed relative to an inertial reference frame.

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

    :param targ: Target body.
    :type targ: int
    :param et: Observer epoch.
    :type et: float
    :param ref: Inertial reference frame of output state.
    :type ref: str
    :param abcorr: Aberration correction flag.
    :type abcorr: str
    :param stobs: State of the observer relative to the SSB.
    :type stobs: 6-Element Array of floats
    :return:
            One way light time between observer and target,
            Derivative of light time with respect to time
    :rtype: tuple
    """
    assert len(stobs) == 6
    targ = stypes.c_int(targ)
    et = ctypes.c_double(et)
    ref = stypes.stringToCharP(ref)
    abcorr = stypes.stringToCharP(abcorr)
    stobs = stypes.toDoubleVector(stobs)
    starg = stypes.emptyDoubleVector(6)
    lt = ctypes.c_double()
    dlt = ctypes.c_double()
    libspice.spkltc_c(targ, et, ref, abcorr, stobs, starg, ctypes.byref(lt),
                      ctypes.byref(dlt))
    return stypes.cVectorToPython(starg), lt.value, dlt.value
Return the state (position and velocity) of a target body
    relative to an observer, optionally corrected for light time,
    expressed relative to an inertial reference frame.

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

    :param targ: Target body.
    :type targ: int
    :param et: Observer epoch.
    :type et: float
    :param ref: Inertial reference frame of output state.
    :type ref: str
    :param abcorr: Aberration correction flag.
    :type abcorr: str
    :param stobs: State of the observer relative to the SSB.
    :type stobs: 6-Element Array of floats
    :return:
            One way light time between observer and target,
            Derivative of light time with respect to time
    :rtype: tuple