Files
pyGUI/src/pygui/backend/models/frame.py
T

13 lines
345 B
Python

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
time: float # seconds (relative or epoch)
values: list[float] # one per sensor, in sensor-layout order