eta.util.general.has_elapsed_certainty_period

has_elapsed_certainty_period(time, certainty)[source]

Check whether a given time delta has elapsed the period corresponding to a given certainty.

Parameters:
  • time (float) – The difference between two times (POSIX timestamps).

  • certainty (float) – A certainty value in [0,1]

Return type:

bool