@spiceErrorCheck<EOL>def scfmt(sc, ticks, lenout=_default_len_out):
sc = ctypes.c_int(sc)<EOL>ticks = ctypes.c_double(ticks)<EOL>clkstr = stypes.stringToCharP(lenout)<EOL>lenout = ctypes.c_int(lenout)<EOL>libspice.scfmt_c(sc, ticks, lenout, clkstr)<EOL>return stypes.toPythonString(clkstr)<EOL>
Convert encoded spacecraft clock ticks to character clock format.

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

:param sc: NAIF spacecraft identification code.
:type sc: int
:param ticks: Encoded representation of a spacecraft clock count.
:type ticks: float
:param lenout: Maximum allowed length of output string.
:type lenout: int
:return: Character representation of a clock count.
:rtype: str