imap_processing.spice.time.sct_to_et#

imap_processing.spice.time.sct_to_et(sclk_ticks: float | Collection[float]) float | ndarray#

Convert encoded spacecraft clock “ticks” to ephemeris time.

Decorated wrapper for spiceypy.sct2e that vectorizes the function in addition to wrapping with the @ensure_spice automatic kernel furnishing functionality. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/sct2e_c.html

Parameters:

sclk_ticks (Union[float, Collection[float]]) – Input sclk ticks value(s) to be converted to ephemeris time.

Returns:

ephemeris_time – Ephemeris time, seconds past J2000.

Return type:

np.ndarray