@spiceErrorCheck<EOL>def spksub(handle, descr, identin, begin, end, newh):
assert len(descr) is <NUM_LIT:5><EOL>handle = ctypes.c_int(handle)<EOL>descr = stypes.toDoubleVector(descr)<EOL>identin = stypes.stringToCharP(identin)<EOL>begin = ctypes.c_double(begin)<EOL>end = ctypes.c_double(end)<EOL>newh = ctypes.c_int(newh)<EOL>libspice.spksub_c(handle, descr, identin, begin, end, newh)<EOL>
Extract a subset of the data in an SPK segment into a
separate segment.

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

:param handle: Handle of source segment.
:type handle: int
:param descr: Descriptor of source segment.
:type descr: 5-Element Array of floats
:param identin: Indentifier of source segment.
:type identin: str
:param begin: Beginning (initial epoch) of subset.
:type begin: int
:param end: End (fincal epoch) of subset.
:type end: int
:param newh: Handle of new segment.
:type newh: int