mg-pso-gui 0.2.93__py3-none-any.whl → 0.2.95__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.2.93
3
+ Version: 0.2.95
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
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=zGYiJJIPZfSOfVolPtPW3t5ZK_4axqu-M9VfRHo-tuo,22993
4
+ mgpsogui/gui/HomePage.py,sha256=_6CWBFHRJrePbJ0iCty4ohPjdZ6SQ7Fl7Gus8FuHpIc,23233
5
5
  mgpsogui/gui/OptionManager.py,sha256=OczLGSmS9MfE2HgpPNw0OFbl2AdNQ_70pxQUKIDWAnU,21707
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -46,7 +46,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
46
46
  mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
47
47
  mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
48
48
  mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
49
- mgpsogui/gui/messages/welcome.txt,sha256=fZABECaJz8jJEzogCbNnWGUgEdOvd_6FwONUBAa0LuM,3772
49
+ mgpsogui/gui/messages/welcome.txt,sha256=KzN_Zk3vaZeXx-G2KJmd5I7Q1_Shw62E9Fx8U4rQuUQ,5674
50
50
  mgpsogui/util/GraphGenerator.py,sha256=LHHDCvBuJQ0RYQm0azi5tC-etrZ1KLQh-tkahVurPSI,31990
51
51
  mgpsogui/util/PSORunner.py,sha256=tTe2sF9MRk48dpsNwSn_CbSSNq1laXWMxSZFh_v5FIQ,23115
52
52
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
73
73
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
74
74
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
75
75
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
76
- mg_pso_gui-0.2.93.dist-info/METADATA,sha256=QUDkQ8rtTYHKkTGEmMEDjHO4iG_PVVYsUTADkVLL59g,9455
77
- mg_pso_gui-0.2.93.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
- mg_pso_gui-0.2.93.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
- mg_pso_gui-0.2.93.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
- mg_pso_gui-0.2.93.dist-info/RECORD,,
76
+ mg_pso_gui-0.2.95.dist-info/METADATA,sha256=woXYXAi8uBQQH_gTxbSxRTt9fdwpy99opYy8a4VR-L4,9455
77
+ mg_pso_gui-0.2.95.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
+ mg_pso_gui-0.2.95.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
+ mg_pso_gui-0.2.95.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
+ mg_pso_gui-0.2.95.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -153,7 +153,10 @@ class App(customtkinter.CTk):
153
153
  command=self.change_scaling_event)
154
154
  self.scaling_optionemenu.grid(row=0, column=8, padx=(5, 20), pady=header_padding_y)
155
155
  self.scaling_optionemenu.set("100%")
156
-
156
+
157
+ self.help_button = customtkinter.CTkButton(self.sidebar_frame, text="Help", width=20, command=self.open_help)
158
+ self.help_button.grid(row=0, column=9, padx=header_padding_x, pady=header_padding_y)
159
+
157
160
  expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
158
161
  #self.new_window = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=expand_image, command=self.open_new_window)
159
162
  #ctt(self.new_window, delay=0.1, alpha=0.95, message="Open New Window")
@@ -211,7 +214,10 @@ class App(customtkinter.CTk):
211
214
  self.after(1000, self.running_loop)
212
215
 
213
216
  # Read the file ./messages/welcome.txt and load it as a string and put it into the message
217
+
218
+ self.open_help()
214
219
 
220
+ def open_help(self):
215
221
  with open(os.path.join("./messages", "welcome.txt"), "r") as f:
216
222
  message = f.read()
217
223
  NW(title="Welcome!", message=message)
@@ -16,10 +16,28 @@ The final editor is the Minikube Environment Editor. This tool is used to deploy
16
16
 
17
17
  The Setup Tab is the most advanced tab and will be used to define all of the parameters used in each of the workflow modes. In all modes, the right sidebar can be used to define Model Parameters and Hyperparameters. The values here depend on the mode, but both of these editors allow for various parameters to be defined. These editors support a variety of data types including strings, floats, integers, dates, and booleans. The editor will adapt the UI and show the appropriate editor depending on the data type (e.g. dates will have a date picker, booleans a True/False dropdown, or a textbox for strings).
18
18
 
19
- The second editor is the Group Editor. In Optimization you will be able to define multiple groups while all other modes only support a single group. The Group Editor includes options to create new groups, delete them, rearrange their order, expand/contract them, and overwrite global parameters defined in the sidebar. In each group you can define Bounds and Objective Functions. Each group has a variety of bounds and objective functions and all of their details can be defined here. Bounds can be imported from CSV files or edited in the interface. The Bounds editor will provide information about each parameter from the service in tooltips and notify when a parameter is outside the recommended bound by highlighting them in Red.
19
+ The second editor is the Group Editor. In Optimization you will be able to define multiple groups while all other modes only support a single group. The Group Editor includes options to create new groups, delete them, rearrange their order, expand/contract them, and overwrite global parameters defined in the sidebar. In each group you can define Bounds and Objective Functions. Each group has a variety of bounds and objective functions and all of their details can be defined here. Bounds can be imported from CSV files or edited in the interface. The Bounds editor will provide information about each parameter from the service in tooltips and notify when a parameter is outside the recommended bound by highlighting them in Red. In other modes besides Optimization the Setup Tab show less information, only the attributes relevant to each mode.
20
20
 
21
21
  --- Results Tab ---
22
22
 
23
+ The Results Tab is where data can be visualized after a workflow step is ran, or view progress while Optimization is running. The main interface of the Results Tab is the left sidebar, where the figure type can be selected and then any relevant fields are displayed to edit the figure. Each mode has different figure types:
24
+
25
+ Optimization:
26
+ - Best Cost Stacked
27
+ - Best Cost by Round
28
+ - Custom CSV
29
+ - Compare CSV
30
+
31
+ Sensitivity Analysis:
32
+ - Custom CSV
33
+ - Compare CSV
34
+
35
+ Sampling:
36
+ - Sampling CSV
37
+ - Matrix Editor
38
+
39
+ Each of the CSV editors are the most powerful figure editors, each with extensive options to customize how the figure is generated and which dataset is being used. Figures can be generated with different themes and then Exported in a variety of formats including HTML, Plotly JSON, PDF, and PNG. If you need to more closely view a figure you can click the "Preview" option to open the graph in a web browser. While the a browser each figure has an interactive interface where the figure can be zoomed, cropped, analyzed, and exported into different formats.
23
40
 
24
41
  --- Project Tab ---
25
42
 
43
+ The final tab is the Project Tab. This tab is likely used the least compared to all of the others. Here you can view the console output of the interface, this can be used to observe errors that are happening. In addition to that this tab also has the Project Editor. This is where you can copy data between modes. So as the workflow is built out it is expected to start with Sampling, do Sensitivity Analysis, and end with Optimization. Instead of having to setup each mode individually the parameters from one can be transferred between modes using this tab. Alongside that the Project Folder and various other project attributes can be viewed here. Finally, the Optimal Parameters found using Optimization can be viewed here.