astroforge.coordinates.dut1utc#

astroforge.coordinates.dut1utc(mjd, bounds_check=True)[source]#

Interpolates the IERS data for the UT1-UTC difference to the time(s) given.

For more information, see [1]

Parameters:
  • mjd (float | NDArray[np.float64]) – Time(s) at which to compute the UT1-UTC offset

  • bounds_check (bool, optional) – Flag for turning on or off bounds checking the interpolation of the IERS data, by default True

Returns:

delta – UT1-UTC offset at the time(s) given

Return type:

float | NDArray[np.float64]

References

Examples

Basic usage:

>>> dut1utc(59025.0)
-0.2426

Multiple times are supported with numpy arrays:

>>> dut1utc(np.array([59025.0, 59026.0]))
array([-0.2426   , -0.2418664])