mg-pso-gui 0.1.14__tar.gz → 0.1.16__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.14 → mg-pso-gui-0.1.16}/PKG-INFO +1 -1
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/SOURCES.txt +1 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/HomePage.py +25 -4
- mg-pso-gui-0.1.16/mgpsogui/gui/images/test.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/pso/csip_access.py +1 -2
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/setup.py +1 -1
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/OptionManager.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/play.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/refresh.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/stop.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/trace.json +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/PSORunner.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg-pso-gui-0.1.14 → mg-pso-gui-0.1.16}/setup.cfg +0 -0
|
@@ -35,6 +35,7 @@ mgpsogui/gui/images/play.png
|
|
|
35
35
|
mgpsogui/gui/images/refresh.png
|
|
36
36
|
mgpsogui/gui/images/refresh_hd.png
|
|
37
37
|
mgpsogui/gui/images/stop.png
|
|
38
|
+
mgpsogui/gui/images/test.png
|
|
38
39
|
mgpsogui/gui/images/trash.png
|
|
39
40
|
mgpsogui/gui/images/up.png
|
|
40
41
|
mgpsogui/util/GraphGenerator.py
|
|
@@ -30,6 +30,7 @@ from queue import Empty
|
|
|
30
30
|
|
|
31
31
|
from ..util import PSORunner
|
|
32
32
|
from ..util import GraphGenerator
|
|
33
|
+
from ..util.CTkToolTip import CTkToolTip as ctt
|
|
33
34
|
|
|
34
35
|
import subprocess
|
|
35
36
|
import plotly.express as px
|
|
@@ -100,6 +101,7 @@ class App(customtkinter.CTk):
|
|
|
100
101
|
self.service_url.grid(row=0, column=4, columnspan=1, padx=header_padding_x, pady=header_padding_y, sticky="nsew")
|
|
101
102
|
refresh_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "refresh.png")), size=(20, 20))
|
|
102
103
|
self.refresh_button = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=refresh_image, command=self.load)
|
|
104
|
+
ctt(self.refresh_button, delay=0.1, alpha=0.95, message="Connect to Service")
|
|
103
105
|
self.refresh_button.grid(row=0, column=5, padx=(5, 80), pady=header_padding_y)
|
|
104
106
|
|
|
105
107
|
self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
|
|
@@ -111,6 +113,7 @@ class App(customtkinter.CTk):
|
|
|
111
113
|
|
|
112
114
|
expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
|
|
113
115
|
self.new_window = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=expand_image, command=self.new_window)
|
|
116
|
+
ctt(self.refresh_button, delay=0.1, alpha=0.95, message="Open New Window")
|
|
114
117
|
self.new_window.grid(row=0, column=8, padx=(5, 20), pady=header_padding_y)
|
|
115
118
|
|
|
116
119
|
self.tabview = customtkinter.CTkTabview(self, bg_color="transparent", fg_color="transparent")
|
|
@@ -145,13 +148,29 @@ class App(customtkinter.CTk):
|
|
|
145
148
|
self.footer_progress_bar.grid(row=0, column=4, padx=(50, 100), pady=header_padding_y, sticky="ew")
|
|
146
149
|
self.footer_progress_bar.set(0)
|
|
147
150
|
|
|
151
|
+
self.algorithm_optionmenu = customtkinter.CTkOptionMenu(self.sidebar_frame, values=["PSO", "Halton"], width=50)
|
|
152
|
+
self.algorithm_optionmenu.grid(row=0, column=6, padx=header_padding_x, pady=header_padding_y)
|
|
153
|
+
self.algorithm_optionmenu.set("PSO")
|
|
154
|
+
|
|
148
155
|
play_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "play.png")), size=(20, 20))
|
|
149
|
-
self.
|
|
150
|
-
self.
|
|
156
|
+
self.run_button = customtkinter.CTkButton(self.footer_frame, text=None, width=30, image=play_image, command=self.run)
|
|
157
|
+
ctt(self.run_button, delay=0.1, alpha=0.95, message="Start Calibration")
|
|
158
|
+
self.run_button.grid(row=0, column=7, padx=(5, 5), pady=header_padding_y)
|
|
159
|
+
|
|
160
|
+
test_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "test.png")), size=(20, 20))
|
|
161
|
+
self.test_button = customtkinter.CTkButton(self.footer_frame, text=None, width=30, image=test_image, command=self.run)
|
|
162
|
+
ctt(self.test_button, delay=0.1, alpha=0.95, message="Start Testing")
|
|
163
|
+
self.test_button.grid(row=0, column=8, padx=(5, 5), pady=header_padding_y)
|
|
151
164
|
|
|
152
165
|
stop_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "stop.png")), size=(20, 20))
|
|
153
|
-
self.
|
|
154
|
-
self.
|
|
166
|
+
self.stop_button = customtkinter.CTkButton(self.footer_frame, text=None, width=30, image=stop_image, command=self.stop)
|
|
167
|
+
ctt(self.stop_button, delay=0.1, alpha=0.95, message="Stop")
|
|
168
|
+
self.stop_button.grid(row=0, column=9, padx=(5, 20), pady=header_padding_y)
|
|
169
|
+
|
|
170
|
+
download_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "down.png")), size=(20, 20))
|
|
171
|
+
self.download_button = customtkinter.CTkButton(self.footer_frame, text=None, width=30, image=stop_image, command=self.stop)
|
|
172
|
+
ctt(self.download_button, delay=0.1, alpha=0.95, message="Download Results")
|
|
173
|
+
self.download_button.grid(row=0, column=10, padx=(5, 20), pady=header_padding_y)
|
|
155
174
|
|
|
156
175
|
def _resize_image(self, event):
|
|
157
176
|
self.graph_label.update_idletasks()
|
|
@@ -563,6 +582,7 @@ class App(customtkinter.CTk):
|
|
|
563
582
|
self.progress_message_right.configure(text="")
|
|
564
583
|
self.textbox.insert("0.0", "\nCalibration finished!\n")
|
|
565
584
|
|
|
585
|
+
'''
|
|
566
586
|
def get_results(self):
|
|
567
587
|
request: Client = Client()
|
|
568
588
|
for name, value in parameters.items():
|
|
@@ -601,6 +621,7 @@ class App(customtkinter.CTk):
|
|
|
601
621
|
print(result)
|
|
602
622
|
else:
|
|
603
623
|
print(result)
|
|
624
|
+
'''
|
|
604
625
|
|
|
605
626
|
def start():
|
|
606
627
|
app = App()
|
|
Binary file
|
|
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
|
|
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
|