@spiceErrorCheck<EOL>def subpt(method, target, et, abcorr, obsrvr):
method = stypes.stringToCharP(method)<EOL>target = stypes.stringToCharP(target)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>obsrvr = stypes.stringToCharP(obsrvr)<EOL>spoint = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>alt = ctypes.c_double()<EOL>if hasattr(et, "<STR_LIT>"):<EOL><INDENT>points = []<EOL>alts = []<EOL>for t in et:<EOL><INDENT>libspice.subpt_c(method, target, ctypes.c_double(t), abcorr, obsrvr, spoint, ctypes.byref(alt))<EOL>checkForSpiceError(None)<EOL>points.append(stypes.cVectorToPython(spoint))<EOL>alts.append(alt.value)<EOL><DEDENT>return points, alts<EOL><DEDENT>else:<EOL><INDENT>et = ctypes.c_double(et)<EOL>libspice.subpt_c(method, target, et, abcorr, obsrvr, spoint, ctypes.byref(alt))<EOL>return stypes.cVectorToPython(spoint), alt.value<EOL><DEDENT>
Deprecated: This routine has been superseded by the CSPICE
routine :func:`subpnt`. This routine is supported for purposes of
backward compatibility only.

Compute the rectangular coordinates of the sub-observer point on
a target body at a particular epoch, optionally corrected for
planetary (light time) and stellar aberration.  Return these
coordinates expressed in the body-fixed frame associated with the
target body.  Also, return the observer's altitude above the
target body.

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

:param method: Computation method.
:type method: str
:param target: Name of target body.
:type target: str
:param et: Epoch in ephemeris seconds past J2000 TDB.
:type et: Union[float,Iterable[float]]
:param abcorr: Aberration correction.
:type abcorr: str
:param obsrvr: Name of observing body.
:type obsrvr: str
:return:
        Sub-observer point on the target body,
        Altitude of the observer above the target body.
:rtype: tuple