TimestampedData

class TimestampedData(time, data, marker=None)[source]

Bases: TimestampedDataBase

Attributes Summary

data

Alias for field number 1

marker

Alias for field number 2

time

Alias for field number 0

Methods Summary

cmp(other)

Tells whether other sorts before, after or equal to this Interval.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes Documentation

data

Alias for field number 1

marker

Alias for field number 2

time

Alias for field number 0

Methods Documentation

cmp(other)[source]

Tells whether other sorts before, after or equal to this Interval.

Sorting is by time then by data fields.

If data fields are not both sortable types, data fields are compared alphabetically by type name. :param other: Interval :return: -1, 0, 1 :rtype: int

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.