@spiceErrorCheck<EOL>def spkssb(targ, et, ref):
targ = ctypes.c_int(targ)<EOL>et = ctypes.c_double(et)<EOL>ref = stypes.stringToCharP(ref)<EOL>starg = stypes.emptyDoubleVector(<NUM_LIT:6>)<EOL>libspice.spkssb_c(targ, et, ref, starg)<EOL>return stypes.cVectorToPython(starg)<EOL>
Return the state (position and velocity) of a target body
relative to the solar system barycenter.

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

:param targ: Target body.
:type targ: int
:param et: Target epoch.
:type et: float
:param ref: Target reference frame.
:type ref: str
:return: State of target.
:rtype: 6-Element Array of floats