@spiceErrorCheck<EOL>def str2et(time):
if isinstance(time, list):<EOL><INDENT>return numpy.array([str2et(t) for t in time])<EOL><DEDENT>time = stypes.stringToCharP(time)<EOL>et = ctypes.c_double()<EOL>libspice.str2et_c(time, ctypes.byref(et))<EOL>return et.value<EOL>
Convert a string representing an epoch to a double precision
value representing the number of TDB seconds past the J2000
epoch corresponding to the input epoch.

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

:param time: A string representing an epoch.
:type time: str
:return: The equivalent value in seconds past J2000, TDB.
:rtype: float