datetime64_from_int64#

spacekernel.time.datetime64_from_int64(ndarray int64) ndarray#

Convert a 1-D int64 array of nanosecond timestamps to datetime64[ns].

Parameters:
int64_arrndarray of int64, shape (N,)

Array of 64-bit integer timestamps (nanoseconds since Unix epoch).

Returns:
datetime64_arrndarray of datetime64[ns], shape (N,)

Array of NumPy datetime64 values reconstructed from the input timestamps.