9cd3170e8a
- Add stability detection and threshold classification features with corresponding tests
12 lines
341 B
Python
12 lines
341 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
|
|
t: float # seconds (relative or epoch)
|
|
values: list[float] # one per sensor, in sensor-layout order
|