epoch_is_date#
- pride.utils.epoch_is_date(epoch: astropy.time.Time) bool#
Check if the epoch differs from a date by less than 0.01 seconds
Checks if the time part of the ISOT representation of the epoch is 00:00:00.00, meaning that anything differing from a date by less than 0.01 seconds is considered a date.
- Parameters:
epoch – Epoch as a Time object
- Returns:
True if the epoch is a date, False otherwise