app.ingest.models

The normalized telemetry point every downstream component works with.

Classes

Ping(tr_id, unit_id, event_time, lat, lon, ...)

One telemetry point in traffic.csv terms, on the dataset timeline.

class app.ingest.models.Ping(tr_id: int, unit_id: int, event_time: datetime, lat: float | None, lon: float | None, speed_kmh: float | None, heading_deg: float | None, location_valid: bool, is_hist: bool, source: Literal['ndtp', 'replay'], received_at: float = 0.0)[исходный код]

Базовые классы: object

One telemetry point in traffic.csv terms, on the dataset timeline.

__init__(tr_id: int, unit_id: int, event_time: datetime, lat: float | None, lon: float | None, speed_kmh: float | None, heading_deg: float | None, location_valid: bool, is_hist: bool, source: Literal['ndtp', 'replay'], received_at: float = 0.0) → None
event_time: datetime
heading_deg: float | None
is_hist: bool
lat: float | None
location_valid: bool
lon: float | None
received_at: float
source: Literal['ndtp', 'replay']
speed_kmh: float | None
tr_id: int
unit_id: int