uvex_transients.surveys.base.SurveySchedule.get_rows_between_times#

SurveySchedule.get_rows_between_times(start_time: Time, end_time: Time) → QTable[source]#

Return the scheduled actions overlapping a time window.

An action with start_time s and duration d is treated as covering the half-open interval [s, s + d); it is included if that interval overlaps [start_time, end_time).

Parameters:
  • start_time (Time) – Start of the query window (inclusive).

  • end_time (Time) – End of the query window (exclusive).

Returns:

The subset of table overlapping the window, in chronological order.

Return type:

QTable

Raises:

ValueError – If end_time is not after start_time.