GUI Utilities¶
B-ASIC GUI utilities.
This module contains GUI classes that have a general use and are not strictly related to either the Block Diagram GUI or Scheduler GUI.
gui_utils.decorators module¶
B-ASIC GUI Decorators Module.
- b_asic.gui_utils.decorators.decorate_class(decorator)¶
- b_asic.gui_utils.decorators.handle_error(fn)¶
gui_utils.about_window module¶
B-ASIC GUI About Window Module.
Contains a GUI class for the about window.
- class b_asic.gui_utils.about_window.AboutWindow(window)¶
About window.
gui_utils.plot_window module¶
PlotWindow is a window in which simulation results are plotted.
- class b_asic.gui_utils.plot_window.PlotWindow(sim_result: Mapping[ResultKey, Sequence[int | float | complex | type[Any] | dtype[Any] | _SupportsDType[dtype[Any]] | tuple[Any, Any] | list[Any] | _DTypeDict | str | None | APyFixed | APyCFixed | APyFloat | APyCFloat]], sfg_name: str | None = None)¶
Dialog for plotting the result of a simulation.
- Parameters:
- sim_resultdict
Simulation results of the form obtained from
results.- sfg_namestr, optional
The name of the SFG.
- parentoptional
The parent window.