@spiceErrorCheck<EOL>def spkcvt(trgsta, trgepc, trgctr, trgref, et, outref, refloc, abcorr, obsrvr):
trgpos = stypes.toDoubleVector(trgsta)<EOL>trgepc = ctypes.c_double(trgepc)<EOL>trgctr = stypes.stringToCharP(trgctr)<EOL>trgref = stypes.stringToCharP(trgref)<EOL>et = ctypes.c_double(et)<EOL>outref = stypes.stringToCharP(outref)<EOL>refloc = stypes.stringToCharP(refloc)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>obsrvr = stypes.stringToCharP(obsrvr)<EOL>state = stypes.emptyDoubleVector(<NUM_LIT:6>)<EOL>lt = ctypes.c_double()<EOL>libspice.spkcvt_c(trgpos, trgepc, trgctr, trgref, et, outref, refloc,<EOL>abcorr, obsrvr, state, ctypes.byref(lt))<EOL>return stypes.cVectorToPython(state), lt.value<EOL>
Return the state, relative to a specified observer, of a target
having constant velocity in a specified reference frame. The
target's state is provided by the calling program rather than by
loaded SPK files.

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

:param trgsta: Target state relative to center of motion.
:type trgsta: 6-Element Array of floats
:param trgepc: Epoch of target state.
:type trgepc: float
:param trgctr: Center of motion of target.
:type trgctr: str
:param trgref: Frame of target state.
:type trgref: str
:param et: Observation epoch.
:type et: float
:param outref: Reference frame of output state.
:type outref: str
:param refloc: Output reference frame evaluation locus.
:type refloc: str
:param abcorr: Aberration correction.
:type abcorr: str
:param obsrvr: Name of observing ephemeris object.
:type obsrvr: str
:return:
        State of target with respect to observer,
        One way light time between target and observer.
:rtype: tuple