mg-pso-gui 0.2.12__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.2.12
3
+ Version: 0.2.13
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=8Wl2bBxsVYPIk2SmF9zXb-oNY3X2HtdWOStIV9gRfAU,20023
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=9fnviF24JtIAeDWp5mL_rd0vicfeNPi9dTlVVPf9j1U,6421
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.12.dist-info/METADATA,sha256=krMm6WOmQv30AMKQ007XwW4_GOeb1prnIe5nSb3Hmig,9455
72
- mg_pso_gui-0.2.12.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
73
- mg_pso_gui-0.2.12.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
74
- mg_pso_gui-0.2.12.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
75
- mg_pso_gui-0.2.12.dist-info/RECORD,,
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,,
@@ -193,7 +193,8 @@ class OptionManager():
193
193
  "custom_function": sv(),
194
194
  "custom_function_goal": sv(),
195
195
  "custom_function_value": sv(),
196
- "data": (sv(), sv())}
196
+ "data_observed": sv(),
197
+ "data_simulated": sv()}
197
198
  objective_function_object["name"].set(objective_function["name"])
198
199
  objective_function_object["objective_function"].set(objective_function["objective_function"])
199
200
  objective_function_object["custom_function_goal"].set("Positive Best")
@@ -210,8 +211,8 @@ class OptionManager():
210
211
  if ("custom_function_value" in objective_function):
211
212
  objective_function_object["custom_function_value"].set(objective_function["custom_function_value"])
212
213
 
213
- objective_function_object["data"][0].set(objective_function["data"][0])
214
- objective_function_object["data"][1].set(objective_function["data"][1])
214
+ objective_function_object["data_observed"].set(objective_function["data_observed"])
215
+ objective_function_object["data_simulated"].set(objective_function["data_simulated"])
215
216
  obj["objective_functions"].append(objective_function_object)
216
217
 
217
218
  self._data[self._mode_sv.get()]["steps"].append(obj)
@@ -221,12 +222,13 @@ class OptionManager():
221
222
  "objective_function": sv(),
222
223
  "weight": sv(),
223
224
  "custom_function": sv(),
224
- "data": (sv(), sv())}
225
+ "data_observed": sv(),
226
+ "data_simulated": sv()}
225
227
  obj["name"].set("ns")
226
228
  obj["objective_function"].set("ns")
227
229
  obj["weight"].set(1)
228
- obj["data"][0].set("")
229
- obj["data"][1].set("")
230
+ obj["data_observed"].set("")
231
+ obj["data_simulated"].set("")
230
232
  obj["custom_function"].set("")
231
233
 
232
234
  self._data[self._mode_sv.get()]["steps"][step_index]["objective_functions"].append(obj)
@@ -243,12 +245,13 @@ class OptionManager():
243
245
  "custom_function": sv(),
244
246
  "custom_function_goal": sv(),
245
247
  "custom_function_value": sv(),
246
- "data": (sv(), sv())}
248
+ "data_observed": sv(),
249
+ "data_simulated": sv()}
247
250
  new_object["name"].set(my_func["name"].get())
248
251
  new_object["objective_function"].set(my_func["objective_function"].get())
249
252
  new_object["weight"].set(my_func["weight"].get())
250
- new_object["data"][0].set(my_func["data"][0].get())
251
- new_object["data"][1].set(my_func["data"][1].get())
253
+ new_object["data_observed"].set(my_func["data_observed"].get())
254
+ new_object["data_simulated"].set(my_func["data_simulated"].get())
252
255
  new_object["custom_function"].set(my_func["custom_function"].get())
253
256
  new_object["custom_function_goal"].set(my_func["custom_function_goal"].get())
254
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())