from __future__ import annotations from dataclasses import dataclass @dataclass(frozen=True) class Frame: """One sample across all sensors ata a point in time""" seq: int # monotonically increasing t: float # seconds (relative or epoch) values: list[float] # one per sensor, in sensor-layout order