@spiceErrorCheck<EOL>def xfmsta(input_state, input_coord_sys, output_coord_sys, body):
input_state = stypes.toDoubleVector(input_state)<EOL>input_coord_sys = stypes.stringToCharP(input_coord_sys)<EOL>output_coord_sys = stypes.stringToCharP(output_coord_sys)<EOL>body = stypes.stringToCharP(body)<EOL>output_state = stypes.emptyDoubleVector(<NUM_LIT:6>)<EOL>libspice.xfmsta_c(input_state, input_coord_sys, output_coord_sys, body,<EOL>output_state)<EOL>return stypes.cVectorToPython(output_state)<EOL>
Transform a state between coordinate systems.

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

:param input_state: Input state. 
:type input_state: 6-Element Array of floats
:param input_coord_sys: Current (input) coordinate system. 
:type input_coord_sys: str
:param output_coord_sys: Desired (output) coordinate system. 
:type output_coord_sys: str
:param body:
            Name or NAIF ID of body with which coordinates
            are associated (if applicable).
:type body: str
:return: Converted output state
:rtype: 6-Element Array of floats