mg-pso-gui 0.1.118__py3-none-any.whl → 0.1.119__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.118.dist-info → mg_pso_gui-0.1.119.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.118.dist-info → mg_pso_gui-0.1.119.dist-info}/RECORD +10 -10
- mgpsogui/gui/HomePage.py +2 -2
- mgpsogui/gui/OptionManager.py +1 -1
- mgpsogui/gui/SetupTab/OptimalParameterView.py +2 -7
- mgpsogui/gui/SetupTab/StepView.py +4 -4
- mgpsogui/util/debug.py +1 -1
- {mg_pso_gui-0.1.118.dist-info → mg_pso_gui-0.1.119.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.118.dist-info → mg_pso_gui-0.1.119.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.118.dist-info → mg_pso_gui-0.1.119.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
mgpsogui/gui/HomePage.py,sha256=
|
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=wD60v_zIvcH9DZg_MYIF27ZrIFm_1woarinK6WGLsN0,22562
|
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=36_MlFd6nLt6xd6HHE2sHtL8oW7VBOZbCvJ8er-wWJ4,12544
|
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
|
|
8
8
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,10 +13,10 @@ mgpsogui/gui/SetupTab/BoundsList.py,sha256=L77UEaUJNiUE-ZsYIl44tWRb1zBfxaEQ-bAG1
|
|
|
13
13
|
mgpsogui/gui/SetupTab/CalibrationParametersView.py,sha256=ppVBHG3nphku9-P6Z8az-HTpgk8vHxnj-A5m80BZTgA,2784
|
|
14
14
|
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=tUqW43VWpxFpdo9UHaPvFQ0CtCo9mFI3mri52ikntrE,4092
|
|
15
15
|
mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUUOK5tGUFVHBf3ck,7352
|
|
16
|
-
mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=
|
|
16
|
+
mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=lKmXqvtK8iPZf5ctWaTYypMwxJDiI9OW8FsfRQ8RzZo,1750
|
|
17
17
|
mgpsogui/gui/SetupTab/SetupTab.py,sha256=8f_xqmMaD8grmSKFFUHm8zIGEDrSUzU_sNW6CdRLrrE,2436
|
|
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=5kMkOiYt2wP_O2yCY1l0JcEKlip9rbMpWeytz1GhLhY,5998
|
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=TpTY4iFG5TzPMIjxfxREgAxLHvxma3Ihtq_EavWhZq8,13322
|
|
22
22
|
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=y3ZjLR78yXjHTcHMpB637ipBKxb1CCEM3qzG8OUJvpQ,3477
|
|
@@ -35,7 +35,7 @@ mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,24
|
|
|
35
35
|
mgpsogui/util/GraphGenerator.py,sha256=HhUsFUFhCv3wTYV8CTqU0wo56Ph9c1DocPj25AVIAdI,15076
|
|
36
36
|
mgpsogui/util/PSORunner.py,sha256=ZXFpfL1U8PxRwMDtuHmXHdJclzounq0mCJ0YOVEBtm4,3934
|
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
-
mgpsogui/util/debug.py,sha256=
|
|
38
|
+
mgpsogui/util/debug.py,sha256=Swzny9_1S-CCONWGssj9iDoSpbwu5Vr4f95g_9L8bec,19759
|
|
39
39
|
mgpsogui/util/helpers.py,sha256=fCfVDaGholx16FVVqf2BhWs9KCevI7aFIve1w2W68EQ,769
|
|
40
40
|
mgpsogui/util/sampler_test_driver.py,sha256=1iJTLVFZ_VCsuIdl3mXQBA1GNAH5jJO3z5h4E_bd5U8,3703
|
|
41
41
|
mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
|
|
@@ -49,8 +49,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
|
49
49
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
|
50
50
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
|
51
51
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
54
|
-
mg_pso_gui-0.1.
|
|
55
|
-
mg_pso_gui-0.1.
|
|
56
|
-
mg_pso_gui-0.1.
|
|
52
|
+
mg_pso_gui-0.1.119.dist-info/METADATA,sha256=xWgMcB4zC4r-MAxpAtfQ4JodFN7mzj_4H-xZY2Q7I2o,9460
|
|
53
|
+
mg_pso_gui-0.1.119.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
54
|
+
mg_pso_gui-0.1.119.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
55
|
+
mg_pso_gui-0.1.119.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
56
|
+
mg_pso_gui-0.1.119.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
|
@@ -128,10 +128,10 @@ class App(customtkinter.CTk):
|
|
|
128
128
|
refresh_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "refresh.png")), size=(20, 20))
|
|
129
129
|
self.refresh_button = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=refresh_image, command=self.load)
|
|
130
130
|
ctt(self.refresh_button, delay=0.1, alpha=0.95, message="Connect to Service")
|
|
131
|
-
self.refresh_button.grid(row=0, column=5, padx=
|
|
131
|
+
self.refresh_button.grid(row=0, column=5, padx=header_padding_x, pady=header_padding_y)
|
|
132
132
|
|
|
133
133
|
self.algorithm_optionmenu = customtkinter.CTkOptionMenu(self.sidebar_frame, variable=self.option_manager.get_arguments()['mode'], values=["Optimization: MG-PSO", "Sampling: Halton", "Sampling: Random"], width=50, command=self.refresh_step_view)
|
|
134
|
-
self.algorithm_optionmenu.grid(row=0, column=6, padx=
|
|
134
|
+
self.algorithm_optionmenu.grid(row=0, column=6, padx=(5, 80), pady=header_padding_y)
|
|
135
135
|
self.algorithm_optionmenu.set("Optimization: MG-PSO")
|
|
136
136
|
|
|
137
137
|
self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
|
mgpsogui/gui/OptionManager.py
CHANGED
|
@@ -20,7 +20,7 @@ class OptionManager():
|
|
|
20
20
|
def clear(self):
|
|
21
21
|
self.arguments['param'].clear()
|
|
22
22
|
self.arguments['url'].set("")
|
|
23
|
-
self.arguments['mode'].set("PSO")
|
|
23
|
+
self.arguments['mode'].set("Optimization: MG-PSO")
|
|
24
24
|
self.arguments['files'] = {}
|
|
25
25
|
self.arguments['calibration_parameters'].clear()
|
|
26
26
|
self.steps = []
|
|
@@ -28,16 +28,11 @@ class OptimalParameterView(CTkScrollableFrame):
|
|
|
28
28
|
self.containerFrame.grid_columnconfigure((0, 1), weight=1)
|
|
29
29
|
|
|
30
30
|
self.mode = self.option_manager.get_arguments()['mode'].get()
|
|
31
|
-
|
|
32
|
-
#CTkLabel(self.containerFrame, text="Name:").grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
|
33
|
-
#CTkLabel(self.containerFrame, text="Value:").grid(row=row, column=1, columnspan=1, padx=5, pady=5, sticky="")
|
|
34
|
-
#row += 1
|
|
35
|
-
|
|
36
31
|
self.steps = self.option_manager.get_steps()
|
|
37
32
|
|
|
38
33
|
for step in self.steps:
|
|
39
34
|
|
|
40
|
-
if self.mode != "Halton":
|
|
35
|
+
if self.mode != "Sampling: Halton":
|
|
41
36
|
name = step['name'].get()
|
|
42
37
|
CTkLabel(self.containerFrame, text=name).grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
|
43
38
|
row += 1
|
|
@@ -50,5 +45,5 @@ class OptimalParameterView(CTkScrollableFrame):
|
|
|
50
45
|
bb.configure(textvariable=param['optimal_value'])
|
|
51
46
|
row += 1
|
|
52
47
|
|
|
53
|
-
if self.mode == "Halton":
|
|
48
|
+
if self.mode == "Sampling: Halton":
|
|
54
49
|
break
|
|
@@ -86,7 +86,7 @@ class StepView(CTkScrollableFrame):
|
|
|
86
86
|
|
|
87
87
|
#CTkLabel(self.containerFrame, text="Step:").grid(row=row, column=0, padx=10, pady=5, sticky="nsew")
|
|
88
88
|
|
|
89
|
-
if (self.mode == "PSO"):
|
|
89
|
+
if (self.mode == "Optimization: MG-PSO"):
|
|
90
90
|
button_container = CTkFrame(self.containerFrame, width=200)
|
|
91
91
|
button_container.grid(row=row, column=1, sticky="nse", padx=(10, 10), pady=(10, 10))
|
|
92
92
|
button_container.grid_rowconfigure(0, weight=1)
|
|
@@ -102,7 +102,7 @@ class StepView(CTkScrollableFrame):
|
|
|
102
102
|
|
|
103
103
|
row += 1
|
|
104
104
|
|
|
105
|
-
if step['open'] or self.mode == "Halton":
|
|
105
|
+
if step['open'] or self.mode == "Sampling: Halton":
|
|
106
106
|
bounds = BoundsList.BoundsList(
|
|
107
107
|
self.containerFrame, option_manager=self.option_manager, step_index=index)
|
|
108
108
|
bounds.grid(row=row, column=0, padx=(10, 10),
|
|
@@ -120,11 +120,11 @@ class StepView(CTkScrollableFrame):
|
|
|
120
120
|
row += 1
|
|
121
121
|
index += 1
|
|
122
122
|
|
|
123
|
-
if (self.mode != "PSO"):
|
|
123
|
+
if (self.mode != "Optimization: MG-PSO"):
|
|
124
124
|
break
|
|
125
125
|
|
|
126
126
|
# Create an "Add step button that is centered
|
|
127
127
|
|
|
128
|
-
if (self.mode == "PSO" or len(self.steps) == 0):
|
|
128
|
+
if (self.mode == "Optimization: MG-PSO" or len(self.steps) == 0):
|
|
129
129
|
CTkButton(self.containerFrame, text="Add Group", command=self.create_new_step).grid(
|
|
130
130
|
row=row, columnspan=2, column=0, padx=(10, 10), pady=(10, 10), sticky="ew")
|
mgpsogui/util/debug.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|