mg-pso-gui 0.2.122__py3-none-any.whl → 0.2.124__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.122.dist-info → mg_pso_gui-0.2.124.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.122.dist-info → mg_pso_gui-0.2.124.dist-info}/RECORD +8 -8
- mgpsogui/gui/SetupTab/BoundsList.py +9 -1
- mgpsogui/gui/SetupTab/FunctionsList.py +5 -4
- mgpsogui/util/recosu/pso/pso.py +1 -1
- {mg_pso_gui-0.2.122.dist-info → mg_pso_gui-0.2.124.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.122.dist-info → mg_pso_gui-0.2.124.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.122.dist-info → mg_pso_gui-0.2.124.dist-info}/top_level.txt +0 -0
@@ -14,10 +14,10 @@ mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_o
|
|
14
14
|
mgpsogui/gui/RunTab/RunTab.py,sha256=_JWzDx5LT_uISw0Vnv-W2ypIeuKgoWqBnvFnvrLhNQA,5917
|
15
15
|
mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=7Vic6AkBI2FStMlYyPH0-dNJJyqEckYJpwxknAqtp84,3403
|
17
|
-
mgpsogui/gui/SetupTab/BoundsList.py,sha256=
|
17
|
+
mgpsogui/gui/SetupTab/BoundsList.py,sha256=7Xx8If4J19sfJSinI_95rCp2o4vuh_clwfAIcRA-3gM,15827
|
18
18
|
mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=lZ9a20YucwhCDiUN3eGA6WXQK7laToB7FP4Zev4Zxnc,3417
|
19
19
|
mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
|
20
|
-
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=
|
20
|
+
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=wmYmppyB5y8QADe3X_FQ5mAYVDC0HAPQgqtkegNwmLA,7007
|
21
21
|
mgpsogui/gui/SetupTab/ListEditor.py,sha256=nin7Pl8z7d_yfKoAxM-yVS34uhj-LnprJ2mNRSB7Z0A,3197
|
22
22
|
mgpsogui/gui/SetupTab/ListParametersView.py,sha256=mkGaC5cXhEOy5oD0MbTyK9z7VGZp019oK2Y8Ay-n05Q,7460
|
23
23
|
mgpsogui/gui/SetupTab/OverrideParameterMetrics.py,sha256=rBfaSitYDOajbHvyi2TfoXAHYlz1cCt028UVpIJ_Dc0,3369
|
@@ -58,7 +58,7 @@ mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MO
|
|
58
58
|
mgpsogui/util/recosu/__init__.py,sha256=pPR0lB6clIi6q73H1W8eT5u0dd3bIemwa9-XFmOaVVk,279
|
59
59
|
mgpsogui/util/recosu/pso/__init__.py,sha256=PQ548aEKVOk6MMzxxDg7yMO_1hHfoEoYLLkGLeij73Y,247
|
60
60
|
mgpsogui/util/recosu/pso/csip_access.py,sha256=_oA71d6CSwhKSa3pgywIW7mXRJtgJTNu1X2DiBkQkuA,4152
|
61
|
-
mgpsogui/util/recosu/pso/pso.py,sha256=
|
61
|
+
mgpsogui/util/recosu/pso/pso.py,sha256=kO0E-OEaSCAaRJX0W72NRh3zvOXA61Qv6AZLZxnAhGk,23185
|
62
62
|
mgpsogui/util/recosu/sampling/__init__.py,sha256=dWs1MPx0o2UFmOmUfFaomQWBTIZAwALsVJzZQNZePZU,252
|
63
63
|
mgpsogui/util/recosu/sampling/sample_trace_writer.py,sha256=M9w-POLlZgjL5a7J7yxr73OG6mCsS2aUuP9d3HKfkbA,1966
|
64
64
|
mgpsogui/util/recosu/sampling/sampler_task.py,sha256=uZobpR83u6xEaUzIknvW9FbB84c2AL7T-5T8O8QIhzY,2776
|
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
73
73
|
mgpsogui/util/recosu/utils/utils.py,sha256=6MIoJb0nhIa4tNv7qhBfZi-AtL3L95CgJf6eAf12NQs,4140
|
74
74
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
75
75
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
76
|
-
mg_pso_gui-0.2.
|
77
|
-
mg_pso_gui-0.2.
|
78
|
-
mg_pso_gui-0.2.
|
79
|
-
mg_pso_gui-0.2.
|
80
|
-
mg_pso_gui-0.2.
|
76
|
+
mg_pso_gui-0.2.124.dist-info/METADATA,sha256=xhxbNuuONZLy4BO01-WLcMdSEx5JRYmu8adzJhyy8Hk,9542
|
77
|
+
mg_pso_gui-0.2.124.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
78
|
+
mg_pso_gui-0.2.124.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
79
|
+
mg_pso_gui-0.2.124.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
80
|
+
mg_pso_gui-0.2.124.dist-info/RECORD,,
|
@@ -116,7 +116,11 @@ class BoundsList(CTkFrame):
|
|
116
116
|
tt2 = None
|
117
117
|
tt3 = None
|
118
118
|
|
119
|
-
|
119
|
+
options_list = ['custom', 'float', 'list']
|
120
|
+
if self.optParams == [] or self.optParams is None:
|
121
|
+
options_list = ['custom', 'list']
|
122
|
+
|
123
|
+
tt = CTkOptionMenu(self.containerFrame, dynamic_resizing=False, values=options_list, variable=bound["type"], command=self.refresh)
|
120
124
|
#command = lambda _, index=index, option=tt: (self.update_type(index, option))
|
121
125
|
#tt.configure(command=command)
|
122
126
|
#tt.set(bound["type"].get())
|
@@ -125,6 +129,10 @@ class BoundsList(CTkFrame):
|
|
125
129
|
cc = None
|
126
130
|
|
127
131
|
bound_type = bound["type"].get()
|
132
|
+
|
133
|
+
if self.optParams == [] and bound_type == "float":
|
134
|
+
bound["type"].set("custom")
|
135
|
+
bound_type = "custom"
|
128
136
|
|
129
137
|
if bound_type == "float":
|
130
138
|
cc = CTkOptionMenu(self.containerFrame, dynamic_resizing=False, values=self.optParams, variable=bound["name"])
|
@@ -59,7 +59,7 @@ class FunctionsList(CTkFrame):
|
|
59
59
|
|
60
60
|
row += 1
|
61
61
|
|
62
|
-
columns = ["absdiff
|
62
|
+
columns = ["absdiff",
|
63
63
|
"absdifflog (not supported)",
|
64
64
|
"ave (not supported)",
|
65
65
|
"bias (not supported)",
|
@@ -67,13 +67,14 @@ class FunctionsList(CTkFrame):
|
|
67
67
|
"ioa (not supported)",
|
68
68
|
"ioa2 (not supported)",
|
69
69
|
"kge",
|
70
|
-
"kge09
|
71
|
-
"mns
|
70
|
+
"kge09",
|
71
|
+
"mns",
|
72
72
|
"mse (not supported)",
|
73
|
+
"rmse",
|
73
74
|
"ns",
|
74
75
|
"ns2log (not supported)",
|
75
76
|
"nslog1p",
|
76
|
-
"nslog2
|
77
|
+
"nslog2",
|
77
78
|
"pbias",
|
78
79
|
"pmcc (not supported)",
|
79
80
|
"rmse",
|
mgpsogui/util/recosu/pso/pso.py
CHANGED
@@ -95,7 +95,7 @@ def eval_cost(x, iteration, step_param, step_objfunc, calib_params, req_queue, f
|
|
95
95
|
|
96
96
|
for key in cost2:
|
97
97
|
# print(key, ' - ', cost2[key])
|
98
|
-
cost2[key][iteration][1] = cost[key]
|
98
|
+
cost2[key][iteration - 1][1] = cost[key] # BUG LIST INDEX OUT OF RANGE?
|
99
99
|
# print(key, ' - ', cost2[key])
|
100
100
|
|
101
101
|
print(flush=True)
|
File without changes
|
File without changes
|
File without changes
|