samna.events#

Submodules#

Module content#

class samna.events.Acceleration#

Bases: pybind11_object

Acceleration data.

from_json(self: samna.events.Acceleration, arg0: str) None#
property sequence_id#

Increasing index for events received from the chip.

Has no effect as input for Xylo-IMU.

property timestamp#

Timestamp when the event leaves chip in microseconds.

Has no effect as input for Xylo-IMU.

to_json(self: samna.events.Acceleration) str#
property x#

Acceleration on x axis.

property y#

Acceleration on y axis.

property z#

Acceleration on z axis.

class samna.events.Frame#

Bases: pybind11_object

A 24-bit RGB frame of specified width and height.

The data buffer contains 8-bit red, green and blue values interleaved in row-major order.

from_json(self: samna.events.Frame, arg0: str) None#
to_json(self: samna.events.Frame) str#