samna.ui#
Submodules#
Module content#
- class samna.ui.ActivityPlotConfiguration#
Bases:
pybind11_object
A configuration for a plot that shows all dvs events.
- from_json(self: samna.ui.ActivityPlotConfiguration, arg0: str) None #
- property image_height#
The y span of all dvs events.
- property image_width#
The x span of all dvs events
- property layout#
top left x, top left y, bottom right x, bottom right y. the input values should be between 0 and 1. default 0,0,1,1 which means this plot spreads over whole area of current window.
- Type:
The proportion value array of this plot in current window work area
- property title#
Plot title.
- to_json(self: samna.ui.ActivityPlotConfiguration) str #
- class samna.ui.FramePlotConfiguration#
Bases:
pybind11_object
A configuration for a plot that shows a frame.
- from_json(self: samna.ui.FramePlotConfiguration, arg0: str) None #
- property layout#
top left x, top left y, bottom right x, bottom right y. the input values should be between 0 and 1. default 0,0,1,1 which means this plot spreads over whole area of current window.
- Type:
The proportion value array of this plot in current window work area
- property title#
Plot title.
- to_json(self: samna.ui.FramePlotConfiguration) str #
- class samna.ui.ReadoutPlotConfiguration#
Bases:
pybind11_object
A configuration for a plot that show an image.
- from_json(self: samna.ui.ReadoutPlotConfiguration, arg0: str) None #
- property images#
The image path array which indicates all features.
- property layout#
top left x, top left y, bottom right x, bottom right y. the input values should be between 0 and 1. default 0,0,1,1 which means this plot spreads over whole area of current window.
- Type:
The proportion value array of this plot in current window work area
- property title#
Plot title.
- to_json(self: samna.ui.ReadoutPlotConfiguration) str #