mg-pso-gui 0.1.185__py3-none-any.whl → 0.1.187__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.1.185.dist-info → mg_pso_gui-0.1.187.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.185.dist-info → mg_pso_gui-0.1.187.dist-info}/RECORD +8 -8
- mgpsogui/gui/SetupTab/SetupTab.py +11 -0
- mgpsogui/gui/SetupTab/StepView.py +0 -1
- mgpsogui/gui/VisualizeTab/MatrixEditor.py +10 -4
- {mg_pso_gui-0.1.185.dist-info → mg_pso_gui-0.1.187.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.185.dist-info → mg_pso_gui-0.1.187.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.185.dist-info → mg_pso_gui-0.1.187.dist-info}/top_level.txt +0 -0
@@ -14,11 +14,11 @@ mgpsogui/gui/SetupTab/CalibrationParametersView.py,sha256=ppVBHG3nphku9-P6Z8az-H
|
|
14
14
|
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=tUqW43VWpxFpdo9UHaPvFQ0CtCo9mFI3mri52ikntrE,4092
|
15
15
|
mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUUOK5tGUFVHBf3ck,7352
|
16
16
|
mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=VKn-4BlVyqspFIOkbWsM0q9pYVsmqnSND0xP2hDKb60,1785
|
17
|
-
mgpsogui/gui/SetupTab/SetupTab.py,sha256=
|
17
|
+
mgpsogui/gui/SetupTab/SetupTab.py,sha256=_cehQwQhDbX92da_AwqYQ2mQo7sFDGkN1IsYQmctK5o,2776
|
18
18
|
mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
|
19
|
-
mgpsogui/gui/SetupTab/StepView.py,sha256=
|
19
|
+
mgpsogui/gui/SetupTab/StepView.py,sha256=DqLoH1qKdlE2uQxX0DMYozl9tSx0SF69ULpHwgQP0es,6635
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256
|
21
|
+
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=a2RIiPLggYAPC8gJRub7oyF7a-yHUuRQh9Bwrqajs7c,3248
|
22
22
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=342SridpIqL6LBRE2rDAoUQqbMYCBCiSL3xNo3iPzz8,21936
|
23
23
|
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=_SiRDUvYJ7VUmMZ_VzylWP2tFygbLzWeUCGW3TU3yZM,3466
|
24
24
|
mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -59,8 +59,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
59
59
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
60
60
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
61
61
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
66
|
-
mg_pso_gui-0.1.
|
62
|
+
mg_pso_gui-0.1.187.dist-info/METADATA,sha256=-g2-dpklOS6ngVyrN_k7ohg2x9_R1ITmzl_qHoljrPw,9456
|
63
|
+
mg_pso_gui-0.1.187.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
64
|
+
mg_pso_gui-0.1.187.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
65
|
+
mg_pso_gui-0.1.187.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
66
|
+
mg_pso_gui-0.1.187.dist-info/RECORD,,
|
@@ -7,6 +7,17 @@ from . import OptimalParameterView as opv
|
|
7
7
|
|
8
8
|
import customtkinter
|
9
9
|
|
10
|
+
def setup_refresh(self):
|
11
|
+
self.static_param_frame.clear()
|
12
|
+
self.static_param_frame.destroy()
|
13
|
+
self.calib_param_frame.clear()
|
14
|
+
self.calib_param_frame.destroy()
|
15
|
+
self.optimal_param_frame.clear()
|
16
|
+
self.optimal_param_frame.destroy()
|
17
|
+
self.steps_frame.clear()
|
18
|
+
self.steps_frame.destroy()
|
19
|
+
self.paramtabview.destroy()
|
20
|
+
|
10
21
|
def create_tab(self, tab):
|
11
22
|
|
12
23
|
tab.grid_columnconfigure(0, weight=8)
|
@@ -132,7 +132,6 @@ class StepView(CTkScrollableFrame):
|
|
132
132
|
row=row, columnspan=2, column=0, padx=(10, 10), pady=(10, 10), sticky="ew")
|
133
133
|
|
134
134
|
if (self.mode == "Sensitivity Analysis"):
|
135
|
-
CTkLabel(self, text="Sensitivity Analysis").grid(row=1, column=0, columnspan=2, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
136
135
|
self.analysisFrame = CTkFrame(self)
|
137
136
|
self.analysisFrame.grid(row=2, column=0, columnspan=2, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
138
137
|
self.analysisFrame.grid_columnconfigure((0, 1, 2), weight=1)
|
@@ -8,7 +8,7 @@ import tkinter as tk
|
|
8
8
|
|
9
9
|
global option_manager
|
10
10
|
|
11
|
-
class MatrixEditor(
|
11
|
+
class MatrixEditor(CTkFrame):
|
12
12
|
def __init__(self, *args,
|
13
13
|
option_manager: None,
|
14
14
|
home_page: None,
|
@@ -40,18 +40,24 @@ class MatrixEditor(CTkScrollableFrame):
|
|
40
40
|
index = 0
|
41
41
|
|
42
42
|
self.containerFrame = CTkFrame(self)
|
43
|
-
self.containerFrame.grid(row=0, column=0, padx=(
|
43
|
+
self.containerFrame.grid(row=0, column=0, padx=(0, 0), pady=(0, 0), sticky="nsew")
|
44
44
|
self.containerFrame.grid_columnconfigure((0, 1), weight=1)
|
45
45
|
|
46
|
+
CTkLabel(self.containerFrame, text="X Axes:").grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
47
|
+
row += 1
|
48
|
+
|
46
49
|
for key_value_pair in self.key_values:
|
47
|
-
CTkLabel(self.containerFrame, text=self.key_values[index]["name"].get()).grid(row=row, column=0, padx=5, pady=5, sticky="")
|
50
|
+
#CTkLabel(self.containerFrame, text=self.key_values[index]["name"].get()).grid(row=row, column=0, padx=5, pady=5, sticky="")
|
48
51
|
|
49
52
|
if self.edit_mode:
|
53
|
+
bb = CTkOptionMenu(self.containerFrame, values=self.columns, variable=self.key_values[index]["value"], command=self.home_page.update_graph)
|
54
|
+
bb.grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="ew")
|
55
|
+
|
50
56
|
return_func = lambda index=index: (self.clear(), self.option_manager.remove_figure_parameter(index), self.home_page.update_graph(0), self.render())
|
51
57
|
CTkButton(self.containerFrame, text="Remove", command=return_func).grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="ew")
|
52
58
|
else:
|
53
59
|
bb = CTkOptionMenu(self.containerFrame, values=self.columns, variable=self.key_values[index]["value"], command=self.home_page.update_graph)
|
54
|
-
bb.grid(row=row, column=
|
60
|
+
bb.grid(row=row, column=0, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="ew")
|
55
61
|
row += 1
|
56
62
|
index += 1
|
57
63
|
|
File without changes
|
File without changes
|
File without changes
|