viewOptimizationResults

Module Contents

Classes

class _OptiProjectLoader(foldername, kwargsPlot=None)

A loader for an opti project.

get_devices() → optimeed.core.ListDataStruct_Interface
get_logopti() → optimeed.core.ListDataStruct_Interface
get_convergence()
get_optisettings()
get_kwargs()
get_nbr_objectives()
class ViewOptimizationResults

Convenience class to display the results of an optimization

add_opti_project(foldername, kwargsPlot=None)

Add an opti project to visualize.

Parameters:
  • foldername – the folder containing the saved files. (as string)
  • kwargsPlot – Check kgwargs ~optimeed.core.graphs.Data

Return the object LinkDataGraph

display_graphs_pareto_mode(theActionsOnClick=None, kwargs_common=None, keep_alive=True, max_nb_points_convergence=None, light_background=False)

Same as meth:display_graphs, but only displays the points belonging to the pareto front.

Parameters:
  • theActionsOnClick – list of actions to perform when a graph is clicked
  • kwargs_common – plot options (from Data class) to apply to all the graphs (ex: {“is_scattered”: True}).
  • keep_alive – if set to true, this method will be blocking. Otherwise you should manually call start_qt_mainloop().
  • max_nb_points_convergence – maximum number of points in the graph that displays the convergence. Put None if performance is not an issue.
  • light_background – boolean, True or False for White or Black background color in graphs
Returns:

widget_graphs_visual for the log opti, widget_graphs_visual for the convergence (widget_graphs_visual)

display_graphs(theActionsOnClick=None, kwargs_common=None, keep_alive=True, max_nb_points_convergence=None, light_background=False)

Generates the optimization graphs.

Parameters:
  • theActionsOnClick – list of actions to perform when a graph is clicked
  • kwargs_common – plot options (from Data class) to apply to all the graphs (ex: {“is_scattered”: True}).
  • keep_alive – if set to true, this method will be blocking. Otherwise you should manually call start_qt_mainloop().
  • max_nb_points_convergence – maximum number of points in the graph that displays the convergence. Put None if performance is not an issue.
  • light_background – boolean, True or False for White or Black background color in graphs
Returns:

widget_graphs_visual for the log opti, widget_graphs_visual for the convergence (widget_graphs_visual)