@spiceErrorCheck<EOL>def spkw10(handle, body, center, inframe, first, last, segid, consts, n, elems,<EOL>epochs):
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>consts = stypes.toDoubleVector(consts)<EOL>n = ctypes.c_int(n)<EOL>elems = stypes.toDoubleVector(elems)<EOL>epochs = stypes.toDoubleVector(epochs)<EOL>libspice.spkw10_c(handle, body, center, inframe, first, last, segid, consts,<EOL>n, elems, epochs)<EOL>
Write an SPK type 10 segment to the DAF open and attached to
the input handle.

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

:param handle: The handle of a DAF file open for writing.
:type handle: int
:param body: The NAIF ID code for the body of the segment.
:type body: int
:param center: The center of motion for body.
:type center: int
:param inframe: The reference frame for this segment.
:type inframe: str
:param first: The first epoch for which the segment is valid.
:type first: float
:param last: The last  epoch for which the segment is valid.
:type last: float
:param segid: The string to use for segment identifier.
:type segid: str
:param consts: The array of geophysical constants for the segment.
:type consts: 8-Element Array of floats
:param n: The number of element/epoch pairs to be stored.
:type n: int
:param elems: The collection of "two-line" element sets.
:type elems: Array of floats
:param epochs: The epochs associated with the element sets.
:type epochs: Array of floats