samna.deprecated.visualizer#
Submodules#
Module content#
- class samna.deprecated.visualizer.VisualizerConfigAgent#
Bases:
pybind11_object
This is depreated, and will be removed soon. To use new APIs of visualizer, please Refer to the latest documentation of samna.
The main class running in samna process to send events to render all plots. it can’t be visited directly, instead it is visited by samna.visualizer.plots after starting visualizer process.
- add_activity_plot(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: int, arg1: int, arg2: str) int #
Add readout plot to show readout images, each feature coresponds to an image.
this plot can be visited in python by
plot = samna.visualizer.plot_2
, the number “2” should be replaced by returned plot id.Args:
title: plot title.
images: the image path array which indicates all features.
Returns: the plot id.
- add_power_measurement_plot(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: str, arg1: int, arg2: List[str]) int #
Add power measurement plot to show power measurement lines.
It is only supported on dynapcnnDevKit and speck2bTestboard currently. dynapcnnDevKit has max channel count of 3, which are io, ram, logic. speck2bTestboard has max channel count of 5, which are io, ram, logic, vddd, vdda. each channel is denoted by a line.
this plot can be visited in python by
plot = samna.visualizer.plot_2
, the number “2” should be replaced by returned plot id.Args:
title: plot title.
channelCount: count of channels to show.
lineNames: an string array which is names of each line.
Returns: the plot id.
- add_readout_plot(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: str, arg1: List[str]) int #
Add readout plot to show readout images, each feature coresponds to an image.
this plot can be visited in python by
plot = samna.visualizer.plot_2
, the number “2” should be replaced by returned plot id.Args:
title: plot title.
images: the image path array which indicates all features.
Returns: the plot id.
- add_spike_count_plot(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: str, arg1: int, arg2: List[str]) int #
Add spike count plot to show spike count of each feature. each feature is denoted by a line.
this plot can be visited in python by
plot = samna.visualizer.plot_2
, the number “2” should be replaced by returned plot id.Args:
title: plot title.
featureCount: count of feature, different models have different feature count.
lineNames: an string array which is names of each line.
Returns: the plot id.
- get_plot_input(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: int) int #
- remove_plot(self: samna.deprecated.visualizer.VisualizerConfigAgent, arg0: int) bool #
- report(self: samna.deprecated.visualizer.VisualizerConfigAgent) List[Tuple[int, str, str]] #