HistoryIterable

Methods

MethodDescription
collectCollect time entries from each history in the iterable.
flattenFlatten the iterable of history objects into a single list of all contained time entries.

Properties

PropertyDescription
dtAccess history items as UTC datetimes.
event_idAccess event ids of history items.
intervalsAccess intervals between consecutive timestamps in milliseconds.
tAccess history items as timestamps (milliseconds since the Unix epoch).

Method Details

collect

Collect time entries from each history in the iterable.

Returns

TypeDescription
list[list[EventTime]]Collected entries per history.

flatten

Flatten the iterable of history objects into a single list of all contained time entries.

Returns

TypeDescription
list[EventTime]List of time entries.

Property Details

dt

Access history items as UTC datetimes.

Returns

TypeDescription
HistoryDateTimeIterableIterable of HistoryDateTime objects, one for each item.

event_id

Access event ids of history items.

Returns

TypeDescription
HistoryEventIdIterableIterable of HistoryEventId objects, one for each item.

intervals

Access intervals between consecutive timestamps in milliseconds.

Returns

TypeDescription
IntervalsIterableIterable of Intervals objects, one for each item.

t

Access history items as timestamps (milliseconds since the Unix epoch).

Returns

TypeDescription
HistoryTimestampIterableIterable of HistoryTimestamp objects, one for each item.