NestedIntervalsIterable

Methods

MethodDescription
collectCollect intervals between each nested history's consecutive timestamps in milliseconds into a NumPy array.
flattenCollect intervals between each nested history's consecutive timestamps in milliseconds into a single NumPy array.
flattened_listCollect intervals between each nested history's consecutive timestamps in milliseconds into a single list.
to_listCollect intervals between each nested history's consecutive timestamps in milliseconds into a list.

Method Details

collect

Collect intervals between each nested history's consecutive timestamps in milliseconds into a NumPy array.

Returns

TypeDescription
list[list[NDArray[np.int64]]]NumPy NDArray of intervals per nested history.

flatten

Collect intervals between each nested history's consecutive timestamps in milliseconds into a single NumPy array.

Returns

TypeDescription
NDArray[np.int64]NumPy NDArray of intervals.

flattened_list

Collect intervals between each nested history's consecutive timestamps in milliseconds into a single list.

Returns

TypeDescription
list[int]List of intervals.

to_list

Collect intervals between each nested history's consecutive timestamps in milliseconds into a list.

Returns

TypeDescription
list[list[list[int]]]List of intervals per nested history.