displayOptimization

Module Contents

Classes

Functions

check_if_must_plot(elem)
run_optimization_displayer(*args, **kwargs)
class OptimizationDisplayer(theOptiParameters, theOptiHistoric, additionalWidgets=None, light_background=False)

Bases: optimeed.core.Option_class

Class used to display optimization process in real time

signal_optimization_over
set_actionsOnClick(theList)

Set actions to perform on click, list of on_graph_click_interface

generate_optimizationGraphs()

Generates the optimization graphs. :return: Graphs, LinkDataGraph, :class:’~optimeed.visulaize.gui.widgets.widget_graphs_visual.widget_graphs_visual

__change_appearance_violate_constraints()
__refresh()
start_autorefresh(timer_autosave)
stop_autorefresh()
__set_graphs_disposition()

Set nicely the graphs disposition

launch_optimization(args_opti, kwargs_opti, refresh_time=0.1, max_nb_points_convergence=100)

Perform the optimization and spawn the convergence graphs afterwards. :param args_opti: arguments (as list) destined to launch the optimization :param kwargs_opti: keywords arguments (as dict) destined to launch the optimization :param refresh_time: float indicating the refresh time of the graphs. If it becomes laggy -> use a higher one. :param max_nb_points_convergence: maximum number of points in the graph that displays the convergence. Put None if performance is not an issue.

close_windows()
display_graphs(theGraphs)
create_main_window()

From the widgets and the actions on click, spawn a window and put a gui around widgetsGraphsVisual.