code: def xfmsta(input_state, input_coord_sys, output_coord_sys, body):
      
      input_state = stypes.toDoubleVector(input_state)
      input_coord_sys = stypes.stringToCharP(input_coord_sys)
      output_coord_sys = stypes.stringToCharP(output_coord_sys)
      body = stypes.stringToCharP(body)
      output_state = stypes.emptyDoubleVector(6)
      libspice.xfmsta_c(input_state, input_coord_sys, output_coord_sys, body,
                        output_state)
      return stypes.cVectorToPython(output_state)
docs: 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