mg-pso-gui 0.2.100__py3-none-any.whl → 0.2.101__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.2.100.dist-info → mg_pso_gui-0.2.101.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.100.dist-info → mg_pso_gui-0.2.101.dist-info}/RECORD +7 -7
- mgpsogui/gui/OptionManager.py +6 -0
- mgpsogui/gui/messages/welcome.txt +10 -8
- {mg_pso_gui-0.2.100.dist-info → mg_pso_gui-0.2.101.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.100.dist-info → mg_pso_gui-0.2.101.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.100.dist-info → mg_pso_gui-0.2.101.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@ 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
4
|
mgpsogui/gui/HomePage.py,sha256=qnrbwfWKuSX6z2BEuRwLMfCe88WC55dFbBbvEe5PtFI,23626
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=W--xBfiaQdeJPr5RipPcyWtK5RB81MUiQ_lJWzQK5OI,22650
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
mgpsogui/gui/General/NoticeWindow.py,sha256=HcTtaYKK4b7HognnoAHXiIHZWAXI80QfR8HM2dTLTV8,1866
|
@@ -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=
|
49
|
+
mgpsogui/gui/messages/welcome.txt,sha256=fPuBbYcIso3p26vpyLBK0V7FPyk7JQDhyTnVClJFttc,5984
|
50
50
|
mgpsogui/util/GraphGenerator.py,sha256=LHHDCvBuJQ0RYQm0azi5tC-etrZ1KLQh-tkahVurPSI,31990
|
51
51
|
mgpsogui/util/PSORunner.py,sha256=mTveURj8HGCwB5VHzvN9ELUhKtVzuynuQc8zJm4IFNs,15764
|
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.
|
77
|
-
mg_pso_gui-0.2.
|
78
|
-
mg_pso_gui-0.2.
|
79
|
-
mg_pso_gui-0.2.
|
80
|
-
mg_pso_gui-0.2.
|
76
|
+
mg_pso_gui-0.2.101.dist-info/METADATA,sha256=3cxAV5Z54FU4K9TRRsHk4HFyWdBcC9bmDxxdmRE3sw8,9456
|
77
|
+
mg_pso_gui-0.2.101.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
78
|
+
mg_pso_gui-0.2.101.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
79
|
+
mg_pso_gui-0.2.101.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
80
|
+
mg_pso_gui-0.2.101.dist-info/RECORD,,
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -369,6 +369,12 @@ class OptionManager():
|
|
369
369
|
self._project_data["name"] = file_name
|
370
370
|
|
371
371
|
def copy_list(self, source_mode):
|
372
|
+
name = "backup"
|
373
|
+
index = 0
|
374
|
+
while name + str(index) in self._data:
|
375
|
+
index += 1
|
376
|
+
self._data[name + str(index)] = self._data[self._mode_sv.get()]
|
377
|
+
|
372
378
|
self._data[self._mode_sv.get()] = self._data[source_mode]
|
373
379
|
|
374
380
|
def combine_steps(self):
|
@@ -1,26 +1,28 @@
|
|
1
1
|
--- Welcome to COSU Manager! ---
|
2
2
|
|
3
|
-
|
3
|
+
COSU stands for Calibration, Optimization, Sensitivity and Uncertainty. COSU Manager is a graphical user interface built with tkinter (https://docs.python.org/3/library/tkinter.html) to execute computational services using the Cloud Services Integration Platform (CSIP; https://alm.engr.colostate.edu/cb/project/csip). The overall workflow of COSU starts with Sampling (Halton or Random), then Sensitivity Analysis, and finally Optimization using Multigroup Particle Swarm Optimization. In each of these service modes, COSU Manager is used to build service requests, read service responses, monitor service status, and display COSU results.
|
4
|
+
|
5
|
+
To get started, it is highly recommended to open a default configuration file (.json) as an example and build an understanding of how information is formatted.
|
4
6
|
|
5
7
|
--- Header ---
|
6
8
|
|
7
|
-
The header contains many important controls. To get started, click the "Load" button to load a default config and enter an HTTP endpoint to the service that you will be using. The refresh button can be used to make a connection with the service and verify that it is available. The next element of the header is the mode selector. The mode selector is one of the most important features of COSU Manager and will be used to execute an entire workflow. You will notice that whenever you switch modes the entire content of COSU Manager changes depending on which mode you are in
|
9
|
+
The header contains many important controls. To get started, click the "Load" button to load a default config and enter an HTTP endpoint to the service that you will be using. The refresh button can be used to make a connection with the service and verify that it is available. The next element of the header is the mode selector. The mode selector is one of the most important features of COSU Manager and will be used to execute an entire workflow. You will notice that whenever you switch modes the entire content of COSU Manager changes depending on which mode you are in. Don't worry, data are unique to each mode and not lost when modes are switched. In each mode, you will interact with the four main tabs of the application: Platform, Setup, Results, and Project.
|
8
10
|
|
9
11
|
--- Platform Tab ---
|
10
12
|
|
11
|
-
The platform tab consists of 3 primary editors: Service Parameters, Service Status, and Minikube Environment Editor. The Service Parameters editor
|
13
|
+
The platform tab consists of 3 primary editors: Service Parameters, Service Status, and Minikube (Kubernites) Environment Editor. The Service Parameters editor allows you to define attributes for the service such as timeouts and retry attempts. All of these parameters will be used when executing a step of the workflow and invoked at the service in the header. The Service Status editor is purely read-only and is used to view information returned from the service. This can be used to verify that the correct endpoint is being used and that the service is available. Service Status is populated whenever the refresh button in the header is clicked.
|
12
14
|
|
13
|
-
The final editor is the Minikube Environment Editor. This tool is used to deploy a local Minikube environment of any of the workflow services. This editor can be used to start Minikube, deploy the service of the selected mode, view the status of the service, and stop Minikube. After creating the Minikube service the endpoint can be filled into the endpoint prompt in the header to use COSU Manager in the exact same way as
|
15
|
+
The final editor is the Minikube Environment Editor. This tool is used to deploy a local Minikube environment of any of the workflow services. This editor can be used to start Minikube, deploy the service of the selected mode, view the status of the service, and stop Minikube. After creating the Minikube service, the endpoint can be filled into the endpoint prompt in the header to use COSU Manager in the exact same way as an externally hosted service. Minikube can be used as a testing environment before creating a cloud deployment.
|
14
16
|
|
15
17
|
--- Setup Tab ---
|
16
18
|
|
17
19
|
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
20
|
|
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.
|
21
|
+
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 parameter Bounds and Objective Functions. 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
22
|
|
21
23
|
--- Results Tab ---
|
22
24
|
|
23
|
-
The Results Tab is where data can be visualized after a workflow step
|
25
|
+
The Results Tab is where data can be visualized after a workflow step has run, 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
26
|
|
25
27
|
Optimization:
|
26
28
|
- Best Cost Stacked
|
@@ -36,8 +38,8 @@ Sampling:
|
|
36
38
|
- Sampling CSV
|
37
39
|
- Matrix Editor
|
38
40
|
|
39
|
-
Each of the CSV editors are the most powerful figure editors
|
41
|
+
Each of the CSV editors are the most powerful figure editors 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 view a figure more closely, you can click the "Preview" option to open the graph in a web browser. While in the a browser each figure has an interactive interface where the figure can be zoomed, cropped, analyzed, and exported into different formats.
|
40
42
|
|
41
43
|
--- Project Tab ---
|
42
44
|
|
43
|
-
The
|
45
|
+
The Project Tab is likely used the least compared to all of the others. Here you can view the console output of the interface, including any errors that are happening. This tab also has the Project Editor where you can copy data between modes. As the workflow is built out, it is expected to start with Sampling, followed by Sensitivity Analysis, and end with Optimization. Instead of having to setup each mode individually the parameters from one can be transferred between modes using the Project Tab. The Project Folder and various other project attributes can be viewed here. Finally, the Optimal Parameters found using Optimization can be viewed here.
|
File without changes
|
File without changes
|
File without changes
|