craftutils.observation.epoch.Time.isclose(other, atol=None)

Returns a boolean or boolean array where two Time objects are element-wise equal within a time tolerance.

This evaluates the expression below:

abs(self - other) <= atol

Parameters

other~astropy.time.Time

Time object for comparison.

atol~astropy.units.Quantity or ~astropy.time.TimeDelta

Absolute tolerance for equality with units of time (e.g. u.s or u.day). Default is two bits in the 128-bit JD time representation, equivalent to about 40 picosecs.