@spiceErrorCheck<EOL>def spkw17(handle, body, center, inframe, first, last, segid, epoch, eqel,<EOL>rapol, decpol):
handle = ctypes.c_int(handle)<EOL>body = ctypes.c_int(body)<EOL>center = ctypes.c_int(center)<EOL>inframe = stypes.stringToCharP(inframe)<EOL>first = ctypes.c_double(first)<EOL>last = ctypes.c_double(last)<EOL>segid = stypes.stringToCharP(segid)<EOL>epoch = ctypes.c_double(epoch)<EOL>eqel = stypes.toDoubleVector(eqel)<EOL>rapol = ctypes.c_double(rapol)<EOL>decpol = ctypes.c_double(decpol)<EOL>libspice.spkw17_c(handle, body, center, inframe, first, last, segid, epoch,<EOL>eqel, rapol, decpol)<EOL>
Write an SPK segment of type 17 given a type 17 data record.

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

:param handle: Handle of an SPK file open for writing.
:type handle: int
:param body: Body code for ephemeris object.
:type body: int
:param center: Body code for the center of motion of the body.
:type center: int
:param inframe: The reference frame of the states.
:type inframe: str
:param first: First valid time for which states can be computed.
:type first: float
:param last: Last valid time for which states can be computed.
:type last: float
:param segid: Segment identifier.
:type segid: str
:param epoch: Epoch of elements in seconds past J2000.
:type epoch: float
:param eqel: Array of equinoctial elements.
:type eqel: 9-Element Array of floats
:param rapol: Right Ascension of the pole of the reference plane.
:type rapol: float
:param decpol: Declination of the pole of the reference plane.
:type decpol: float