from dataclasses import dataclass @dataclass class Accelerometer: x: float y: float z: float