dtf_from_datetime64#
- spacekernel.time.dtf_from_datetime64(datetime64: ndarray[npy_datetime]) ndarray[DTF]#
Wrapper that returns a NumPy ndarray of DTF structs from datetime64[ns].
- Parameters:
- datetime64_arrndarray of datetime64[ns], shape (N,)
Input array of timestamps.
- Returns:
- dtf_arrndarray of DTF, shape (N,)
Structured NumPy array with the same calendar components as c_dtf_from_datetime64, suitable for pure-Python use.
See also
c_dtf_from_datetime64C‐accelerated memoryview output.