int64_from_dtf#

spacekernel.time.int64_from_dtf(dtf: ndarray[DTF]) ndarray[int64_t]#

Convert a NumPy array of DTF structs to int64 nanosecond timestamps.

This wrapper calls the C‐accelerated c_int64_from_dtf and returns a standard NumPy ndarray of dtype int64.

Parameters:
dtfndarray of DTF, shape (N,)

Structured array or memoryview containing date‐time fields.

Returns:
ndarray of int64

Array of nanosecond timestamps since the Unix epoch.