@spiceErrorCheck<EOL>def timout(et, pictur, lenout=_default_len_out):
pictur = stypes.stringToCharP(pictur)<EOL>output = stypes.stringToCharP(lenout)<EOL>lenout = ctypes.c_int(lenout)<EOL>if hasattr(et, "<STR_LIT>"):<EOL><INDENT>times = []<EOL>for t in et:<EOL><INDENT>libspice.timout_c(ctypes.c_double(t), pictur, lenout, output)<EOL>checkForSpiceError(None)<EOL>times.append(stypes.toPythonString(output))<EOL><DEDENT>return times<EOL><DEDENT>else:<EOL><INDENT>et = ctypes.c_double(et)<EOL>libspice.timout_c(et, pictur, lenout, output)<EOL>return stypes.toPythonString(output)<EOL><DEDENT>
This vectorized routine converts an input epoch represented in TDB seconds
past the TDB epoch of J2000 to a character string formatted to
the specifications of a user's format picture.

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

:param et: An epoch in seconds past the ephemeris epoch J2000.
:type et: Union[float,Iterable[float]]
:param pictur: A format specification for the output string.
:type pictur: str
:param lenout: The length of the output string plus 1.
:type lenout: int
:return: A string representation of the input epoch.
:rtype: str or array of str