Description Creating a regularly space set of Time objects with np.linspace is quite slow: from astropy.time import Time, TimeDelta import astropy.units as u import numpy as np dt = TimeDelta(1 * u.hour) t0 = Time('2021-01-01') t1 = Time...
TypeError when comparing TimeDelta and a nan Quantity #15230 Closed Using Masked inside Time #15231 Merged Contributor mhvk commented Aug 26, 2023 The current inability to do time_delta < nan-quantity (#15230) reminded me of this issue. It has been a long time, and in the meantime we...
astropy.time Mean and apparent sidereal time can now be calculated using the sidereal_time method [#1418]. The time scale now defaults to UTC if no scale is provided. [#2091] TimeDelta objects can have all scales but UTC, as well as, for consistency with time-like quantities, undefined...
The bug fixes to the behaviour of TimeDelta for multiplcation and division, which ensure that the output is now always a TimeDelta if the result is a time unit (like u.s or u.d) and otherwise a Quantity, imply that sometimes the output type will be different than it was before. [#83...