mg-pso-gui 0.1.118__tar.gz → 0.1.120__tar.gz
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 → mg-pso-gui-0.1.120}/PKG-INFO +1 -1
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/HomePage.py +3 -3
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/OptionManager.py +1 -1
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/OptimalParameterView.py +2 -7
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/StepView.py +4 -4
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/debug.py +1 -1
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/setup.py +1 -1
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/play.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/refresh.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/stop.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/test.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/PSORunner.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/helpers.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/util/sampler_test_driver.py +0 -0
- {mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/setup.cfg +0 -0
|
@@ -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")
|
|
@@ -306,7 +306,7 @@ class App(customtkinter.CTk):
|
|
|
306
306
|
def make_request(self):
|
|
307
307
|
service_url = self.service_url.get()
|
|
308
308
|
try:
|
|
309
|
-
response = requests.get(service_url)
|
|
309
|
+
response = requests.get(service_url, timeout=1)
|
|
310
310
|
|
|
311
311
|
response_json = json.loads(response.text)
|
|
312
312
|
status = response.status_code
|
|
@@ -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")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mg-pso-gui-0.1.118 → mg-pso-gui-0.1.120}/mgpsogui/gui/SetupTab/CalibrationParametersView.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|