mg-pso-gui 0.1.240__tar.gz → 0.1.242__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/PKG-INFO +1 -1
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/OptionManager.py +71 -68
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/OverrideParameterWindow.py +0 -2
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/setup.py +1 -1
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/HomePage.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/PlatformTab/ServiceParametersView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/CustomFunctionMetrics.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/ListEditor.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/OptimalParameterView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/OverrideParameterMetrics.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/VisualizeTab/MatrixEditor.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/collapse.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/down.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/expand.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/play.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/refresh.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/stop.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/test.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/trash.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/images/up.png +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/mgpsogui.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/start.yaml +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/PSORunner.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/debug.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/helpers.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/halton/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/halton/halton.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/halton/prime.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/random/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/random/random_sampler.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/sample_trace_writer.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/sampler_task.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/sampling.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/sampler_test_driver.py +0 -0
- {mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/setup.cfg +0 -0
@@ -94,78 +94,81 @@ class OptionManager():
|
|
94
94
|
"open": False}
|
95
95
|
obj["name"].set("Group " + str(len(self.steps) + 1))
|
96
96
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
97
|
+
if "param" in step:
|
98
|
+
for param in step["param"]:
|
99
|
+
param_obj = {
|
100
|
+
"name": sv(),
|
101
|
+
"bounds": (sv(), sv()),
|
102
|
+
"default_value": sv(),
|
103
|
+
"optimal_value": sv(),
|
104
|
+
"type": sv(),
|
105
|
+
"calibration_strategy": sv()
|
106
|
+
}
|
107
|
+
param_obj["name"].set(param["name"])
|
108
|
+
if "bounds" in param:
|
109
|
+
param_obj["bounds"][0].set(param["bounds"][0])
|
110
|
+
param_obj["bounds"][1].set(param["bounds"][1])
|
111
|
+
else:
|
112
|
+
param_obj["bounds"][0].set(0)
|
113
|
+
param_obj["bounds"][1].set(1)
|
114
|
+
|
115
|
+
if "type" in param:
|
116
|
+
param_obj["type"].set(param["type"])
|
117
|
+
else:
|
118
|
+
param_obj["type"].set("float")
|
119
|
+
|
120
|
+
if "default_value" in param:
|
121
|
+
param_obj["default_value"].set(param["default_value"])
|
122
|
+
else:
|
123
|
+
param_obj["default_value"].set(1)
|
124
|
+
|
125
|
+
if "optimal_value" in param:
|
126
|
+
param_obj["optimal_value"].set(param["optimal_value"])
|
127
|
+
else:
|
128
|
+
param_obj["optimal_value"].set(0)
|
129
|
+
|
130
|
+
if "calibration_strategy" in param:
|
131
|
+
param_obj["calibration_strategy"].set(param["calibration_strategy"])
|
132
|
+
else:
|
133
|
+
param_obj["calibration_strategy"].set("none")
|
134
|
+
|
135
|
+
obj["param"].append(param_obj)
|
135
136
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
137
|
+
if "overrideparam" in step:
|
138
|
+
for override in step["overrideparam"]:
|
139
|
+
override_obj = {"name": sv(), "value": sv()}
|
140
|
+
override_obj['name'].set(override['name'])
|
141
|
+
override_obj['value'].set(override['value'])
|
142
|
+
obj['overrideparam'].append(override_obj)
|
141
143
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
if ("weight" in objfunc):
|
155
|
-
objfunc_obj["weight"].set(objfunc["weight"])
|
156
|
-
else:
|
157
|
-
objfunc_obj["weight"].set(1)
|
144
|
+
if "objfunc" in step:
|
145
|
+
for objfunc in step["objfunc"]:
|
146
|
+
objfunc_obj = {"name": sv(),
|
147
|
+
"of": sv(),
|
148
|
+
"weight": sv(),
|
149
|
+
"custom_function": sv(),
|
150
|
+
"custom_function_goal": sv(),
|
151
|
+
"custom_function_value": sv(),
|
152
|
+
"data": (sv(), sv())}
|
153
|
+
objfunc_obj["name"].set(objfunc["name"])
|
154
|
+
objfunc_obj["of"].set(objfunc["of"])
|
155
|
+
objfunc_obj["custom_function_goal"].set("Positive Best")
|
158
156
|
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
157
|
+
if ("weight" in objfunc):
|
158
|
+
objfunc_obj["weight"].set(objfunc["weight"])
|
159
|
+
else:
|
160
|
+
objfunc_obj["weight"].set(1)
|
161
|
+
|
162
|
+
if ("custom_function" in objfunc):
|
163
|
+
objfunc_obj["custom_function"].set(objfunc["custom_function"])
|
164
|
+
if ("custom_function_goal" in objfunc):
|
165
|
+
objfunc_obj["custom_function_goal"].set(objfunc["custom_function_goal"])
|
166
|
+
if ("custom_function_value" in objfunc):
|
167
|
+
objfunc_obj["custom_function_value"].set(objfunc["custom_function_value"])
|
165
168
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
+
objfunc_obj["data"][0].set(objfunc["data"][0])
|
170
|
+
objfunc_obj["data"][1].set(objfunc["data"][1])
|
171
|
+
obj["objfunc"].append(objfunc_obj)
|
169
172
|
|
170
173
|
self.steps.append(obj)
|
171
174
|
|
@@ -14,7 +14,6 @@ class OverrideParameterWindow(CTkInputDialog):
|
|
14
14
|
|
15
15
|
def __init__(self, *args,
|
16
16
|
step_index: 0,
|
17
|
-
function_index: 0,
|
18
17
|
option_manager: None,
|
19
18
|
**kwargs):
|
20
19
|
super().__init__(*args, **kwargs)
|
@@ -22,7 +21,6 @@ class OverrideParameterWindow(CTkInputDialog):
|
|
22
21
|
self.geometry("400x800")
|
23
22
|
|
24
23
|
self.step_index = step_index
|
25
|
-
self.function_index = function_index
|
26
24
|
self.option_manager = option_manager
|
27
25
|
self.bounds = None
|
28
26
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/CalibrationParametersView.py
RENAMED
File without changes
|
{mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/random/random_sampler.py
RENAMED
File without changes
|
{mg_pso_gui-0.1.240 → mg_pso_gui-0.1.242}/mgpsogui/util/recosu/sampling/sample_trace_writer.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|