Simulation GUI¶
- class pymoskito.simulation_gui.SimulationGui[source]¶
class for the graphical user interface
- apply_regime_by_name(regime_name)[source]¶
Apply the regime given by regime_name und update the regime index.
- Returns:
True if successful, False if errors occurred.
- Return type:
bool
- export_simulation_data(ok)[source]¶
Query the user for a custom name and export the current simulation results.
- Parameters:
ok – unused parameter from QAction.triggered() Signal
- new_simulation_data(status, data)[source]¶
Slot to be called when the simulation interface has completed the current job and new data is available.
- Parameters:
status (str) – Status of the simulation, either - finished : Simulation has been finished successfully or - failed : Simulation has failed.
data (dict) – Dictionary, holding the simulation data.
- plot_data_vector(item)[source]¶
Creates a plot widget based on the given item.
If a plot for this item is already open no new plot is created but the existing one is raised up again.
- Parameters:
item (Qt.ListItem) – Item to plot.