mg-pso-gui 0.2.119__tar.gz → 0.2.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.2.119 → mg_pso_gui-0.2.120}/PKG-INFO +1 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/General/NoticeWindow.py +15 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/HomePage.py +0 -3
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +15 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py +15 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/OverrideParameterWindow.py +15 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/SamplingNameListWindow.py +15 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/setup.py +1 -1
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/General/ParameterView.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/General/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/OptionManager.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/OptionManager_backup.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/RunTab/OptimalParameterView.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/CustomFunctionMetrics.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/ListEditor.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/OverrideParameterMetrics.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/SamplingListView.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/VisualizeTab/MatrixEditor.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/defaults/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/defaults/optimization.json +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/defaults/sampling.json +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/defaults/sensitivity.json +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/collapse.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/down.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/expand.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/play.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/plus.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/refresh.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/stop.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/test.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/trash.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/images/up.png +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/messages/welcome.txt +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/mgpsogui.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/start.yaml +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/PSORunner.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/debug.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/helpers.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/halton/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/halton/halton.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/halton/prime.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/random/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/random/random_sampler.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/sample_trace_writer.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/sampler_task.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/sampling.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/sampler_test_driver.py +0 -0
- {mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/setup.cfg +0 -0
@@ -20,7 +20,21 @@ class NoticeWindow(CTkInputDialog):
|
|
20
20
|
**kwargs):
|
21
21
|
super().__init__(*args, **kwargs)
|
22
22
|
|
23
|
-
self.
|
23
|
+
screen_width = self.winfo_screenwidth()
|
24
|
+
screen_height = self.winfo_screenheight()
|
25
|
+
win_width = x
|
26
|
+
win_height = y
|
27
|
+
if screen_width < win_width:
|
28
|
+
win_width = screen_width * 0.9
|
29
|
+
|
30
|
+
if screen_height < win_height:
|
31
|
+
win_height = screen_height * 0.9
|
32
|
+
|
33
|
+
# Calculate the x and y coordinates to center the window
|
34
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
35
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
36
|
+
|
37
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
24
38
|
|
25
39
|
self.message = message
|
26
40
|
|
@@ -130,9 +130,6 @@ class App(customtkinter.CTk):
|
|
130
130
|
|
131
131
|
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
132
132
|
|
133
|
-
# Center the Window on the screen
|
134
|
-
|
135
|
-
|
136
133
|
# configure grid layout (4x4)
|
137
134
|
self.grid_columnconfigure(0, weight=1)
|
138
135
|
self.grid_rowconfigure(1, weight=1)
|
@@ -19,7 +19,21 @@ class BoundsEditorWindow(CTkInputDialog):
|
|
19
19
|
**kwargs):
|
20
20
|
super().__init__(*args, **kwargs)
|
21
21
|
|
22
|
-
self.
|
22
|
+
screen_width = self.winfo_screenwidth()
|
23
|
+
screen_height = self.winfo_screenheight()
|
24
|
+
win_width = 400
|
25
|
+
win_height = 800
|
26
|
+
if screen_width < win_width:
|
27
|
+
win_width = screen_width * 0.9
|
28
|
+
|
29
|
+
if screen_height < win_height:
|
30
|
+
win_height = screen_height * 0.9
|
31
|
+
|
32
|
+
# Calculate the x and y coordinates to center the window
|
33
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
34
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
35
|
+
|
36
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
23
37
|
|
24
38
|
self.step_index = step_index
|
25
39
|
self.bound_index = bound_index
|
{mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py
RENAMED
@@ -19,7 +19,21 @@ class CustomFunctionEditorWindow(CTkInputDialog):
|
|
19
19
|
**kwargs):
|
20
20
|
super().__init__(*args, **kwargs)
|
21
21
|
|
22
|
-
self.
|
22
|
+
screen_width = self.winfo_screenwidth()
|
23
|
+
screen_height = self.winfo_screenheight()
|
24
|
+
win_width = 400
|
25
|
+
win_height = 800
|
26
|
+
if screen_width < win_width:
|
27
|
+
win_width = screen_width * 0.9
|
28
|
+
|
29
|
+
if screen_height < win_height:
|
30
|
+
win_height = screen_height * 0.9
|
31
|
+
|
32
|
+
# Calculate the x and y coordinates to center the window
|
33
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
34
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
35
|
+
|
36
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
23
37
|
|
24
38
|
self.step_index = step_index
|
25
39
|
self.function_index = function_index
|
@@ -18,7 +18,21 @@ class OverrideParameterWindow(CTkInputDialog):
|
|
18
18
|
**kwargs):
|
19
19
|
super().__init__(*args, **kwargs)
|
20
20
|
|
21
|
-
self.
|
21
|
+
screen_width = self.winfo_screenwidth()
|
22
|
+
screen_height = self.winfo_screenheight()
|
23
|
+
win_width = 400
|
24
|
+
win_height = 800
|
25
|
+
if screen_width < win_width:
|
26
|
+
win_width = screen_width * 0.9
|
27
|
+
|
28
|
+
if screen_height < win_height:
|
29
|
+
win_height = screen_height * 0.9
|
30
|
+
|
31
|
+
# Calculate the x and y coordinates to center the window
|
32
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
33
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
34
|
+
|
35
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
22
36
|
|
23
37
|
self.step_index = step_index
|
24
38
|
self.option_manager = option_manager
|
@@ -19,7 +19,21 @@ class SamplingNameListWindow(CTkInputDialog):
|
|
19
19
|
**kwargs):
|
20
20
|
super().__init__(*args, **kwargs)
|
21
21
|
|
22
|
-
self.
|
22
|
+
screen_width = self.winfo_screenwidth()
|
23
|
+
screen_height = self.winfo_screenheight()
|
24
|
+
win_width = 400
|
25
|
+
win_height = 800
|
26
|
+
if screen_width < win_width:
|
27
|
+
win_width = screen_width * 0.9
|
28
|
+
|
29
|
+
if screen_height < win_height:
|
30
|
+
win_height = screen_height * 0.9
|
31
|
+
|
32
|
+
# Calculate the x and y coordinates to center the window
|
33
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
34
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
35
|
+
|
36
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
23
37
|
|
24
38
|
self.step_index = step_index
|
25
39
|
self.bound_index = bound_index
|
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
|
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
|
{mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/random/random_sampler.py
RENAMED
File without changes
|
{mg_pso_gui-0.2.119 → mg_pso_gui-0.2.120}/mgpsogui/util/recosu/sampling/sample_trace_writer.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
|