imap_processing.spice.time.j2000ns_to_j2000s#

imap_processing.spice.time.j2000ns_to_j2000s(j2000ns: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) ndarray[Any, dtype[float]]#

Convert the J2000 epoch nanoseconds to J2000 epoch seconds.

The common CDF coordinate epoch stores J2000 nanoseconds. SPICE requires J2000 seconds be used. This is a common function to do that conversion.

Parameters:

j2000ns (float, numpy.ndarray) – Number of nanoseconds since the J2000 epoch.

Returns:

Number of seconds since the J2000 epoch.

Return type:

numpy.ndarray[float]