mg-pso-gui 0.2.11__py3-none-any.whl → 0.2.13__py3-none-any.whl
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.2.11.dist-info → mg_pso_gui-0.2.13.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.11.dist-info → mg_pso_gui-0.2.13.dist-info}/RECORD +7 -7
- mgpsogui/gui/OptionManager.py +12 -10
- mgpsogui/gui/SetupTab/FunctionsList.py +6 -4
- {mg_pso_gui-0.2.11.dist-info → mg_pso_gui-0.2.13.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.11.dist-info → mg_pso_gui-0.2.13.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.11.dist-info → mg_pso_gui-0.2.13.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@ mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
|
|
2
2
|
mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
|
3
3
|
mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
|
4
4
|
mgpsogui/gui/HomePage.py,sha256=B0uwmD49aiqRZ-hyzv5ZhceG3ymWzFS2CoGsiOuMeX0,21593
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=6OXfCIa4xi-WY33zNOcN9lcdcIQJcDJjdKPbVynKgUI,20239
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
mgpsogui/gui/General/ParameterView.py,sha256=G0UW84dsL9O3uOth6SviC1hSoar4vDeq_kyefEuD284,5082
|
@@ -15,7 +15,7 @@ mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=U64oaiDIOaimjbqKMz5rQNq2o1SrQ
|
|
15
15
|
mgpsogui/gui/SetupTab/BoundsList.py,sha256=A-twr731uKflWTq4AmQcapSsR54a9Y7Zvo1fMFfx8jE,12347
|
16
16
|
mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=yx0dHSNa7fGy99Q6qFcI6j9r8p0DlV3iOBgyPMGd8pM,2884
|
17
17
|
mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
|
18
|
-
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=
|
18
|
+
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=mezi1jD2CZKURoKaiyauX1d89TNZUxy3s8Mn5RU8Uz0,6597
|
19
19
|
mgpsogui/gui/SetupTab/ListEditor.py,sha256=nin7Pl8z7d_yfKoAxM-yVS34uhj-LnprJ2mNRSB7Z0A,3197
|
20
20
|
mgpsogui/gui/SetupTab/ListParametersView.py,sha256=mkGaC5cXhEOy5oD0MbTyK9z7VGZp019oK2Y8Ay-n05Q,7460
|
21
21
|
mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_ozzJhyBkL08fJzI,1752
|
@@ -68,8 +68,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
68
68
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
69
69
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
70
70
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
71
|
-
mg_pso_gui-0.2.
|
72
|
-
mg_pso_gui-0.2.
|
73
|
-
mg_pso_gui-0.2.
|
74
|
-
mg_pso_gui-0.2.
|
75
|
-
mg_pso_gui-0.2.
|
71
|
+
mg_pso_gui-0.2.13.dist-info/METADATA,sha256=JmtbC_sSm0DAHPy05nnMWm-0IhvDdeHCW7cshGdr6Mc,9455
|
72
|
+
mg_pso_gui-0.2.13.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
73
|
+
mg_pso_gui-0.2.13.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
74
|
+
mg_pso_gui-0.2.13.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
75
|
+
mg_pso_gui-0.2.13.dist-info/RECORD,,
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -139,7 +139,6 @@ class OptionManager():
|
|
139
139
|
"name": sv(),
|
140
140
|
"min_bound": sv(),
|
141
141
|
"max_bound": sv(),
|
142
|
-
"bounds": (sv(), sv()),
|
143
142
|
"default_value": sv(),
|
144
143
|
"optimal_value": sv(),
|
145
144
|
"type": sv(),
|
@@ -194,7 +193,8 @@ class OptionManager():
|
|
194
193
|
"custom_function": sv(),
|
195
194
|
"custom_function_goal": sv(),
|
196
195
|
"custom_function_value": sv(),
|
197
|
-
"
|
196
|
+
"data_observed": sv(),
|
197
|
+
"data_simulated": sv()}
|
198
198
|
objective_function_object["name"].set(objective_function["name"])
|
199
199
|
objective_function_object["objective_function"].set(objective_function["objective_function"])
|
200
200
|
objective_function_object["custom_function_goal"].set("Positive Best")
|
@@ -211,8 +211,8 @@ class OptionManager():
|
|
211
211
|
if ("custom_function_value" in objective_function):
|
212
212
|
objective_function_object["custom_function_value"].set(objective_function["custom_function_value"])
|
213
213
|
|
214
|
-
objective_function_object["
|
215
|
-
objective_function_object["
|
214
|
+
objective_function_object["data_observed"].set(objective_function["data_observed"])
|
215
|
+
objective_function_object["data_simulated"].set(objective_function["data_simulated"])
|
216
216
|
obj["objective_functions"].append(objective_function_object)
|
217
217
|
|
218
218
|
self._data[self._mode_sv.get()]["steps"].append(obj)
|
@@ -222,12 +222,13 @@ class OptionManager():
|
|
222
222
|
"objective_function": sv(),
|
223
223
|
"weight": sv(),
|
224
224
|
"custom_function": sv(),
|
225
|
-
"
|
225
|
+
"data_observed": sv(),
|
226
|
+
"data_simulated": sv()}
|
226
227
|
obj["name"].set("ns")
|
227
228
|
obj["objective_function"].set("ns")
|
228
229
|
obj["weight"].set(1)
|
229
|
-
obj["
|
230
|
-
obj["
|
230
|
+
obj["data_observed"].set("")
|
231
|
+
obj["data_simulated"].set("")
|
231
232
|
obj["custom_function"].set("")
|
232
233
|
|
233
234
|
self._data[self._mode_sv.get()]["steps"][step_index]["objective_functions"].append(obj)
|
@@ -244,12 +245,13 @@ class OptionManager():
|
|
244
245
|
"custom_function": sv(),
|
245
246
|
"custom_function_goal": sv(),
|
246
247
|
"custom_function_value": sv(),
|
247
|
-
"
|
248
|
+
"data_observed": sv(),
|
249
|
+
"data_simulated": sv()}
|
248
250
|
new_object["name"].set(my_func["name"].get())
|
249
251
|
new_object["objective_function"].set(my_func["objective_function"].get())
|
250
252
|
new_object["weight"].set(my_func["weight"].get())
|
251
|
-
new_object["
|
252
|
-
new_object["
|
253
|
+
new_object["data_observed"].set(my_func["data_observed"].get())
|
254
|
+
new_object["data_simulated"].set(my_func["data_simulated"].get())
|
253
255
|
new_object["custom_function"].set(my_func["custom_function"].get())
|
254
256
|
new_object["custom_function_goal"].set(my_func["custom_function_goal"].get())
|
255
257
|
new_object["custom_function_value"].set(my_func["custom_function_value"].get())
|
@@ -105,13 +105,15 @@ class FunctionsList(CTkFrame):
|
|
105
105
|
|
106
106
|
row += 1
|
107
107
|
|
108
|
-
CTkLabel(self.containerFrame, text="Data:").grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
108
|
+
CTkLabel(self.containerFrame, text="Observed and Simulated Data:").grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
109
109
|
|
110
110
|
row += 1
|
111
|
-
for obj in func["data"]:
|
112
|
-
CTkEntry(self.containerFrame, textvariable=obj).grid(row=row, column=0, columnspan=3, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
113
|
-
row += 1
|
114
111
|
|
112
|
+
CTkEntry(self.containerFrame, textvariable=func["data_observed"]).grid(row=row, column=0, columnspan=3, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
113
|
+
row += 1
|
114
|
+
CTkEntry(self.containerFrame, textvariable=func["data_simulated"]).grid(row=row, column=0, columnspan=3, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
115
|
+
row += 1
|
116
|
+
|
115
117
|
if self.edit_mode:
|
116
118
|
remove_func = lambda index=index: (self.clear(), self.option_manager.remove_function(self.step_index, index), self.render())
|
117
119
|
dupe_func = lambda index=index: (self.clear(), self.option_manager.dupe_function(self.step_index, index), self.render())
|
File without changes
|
File without changes
|
File without changes
|