mg-pso-gui 0.1.113__tar.gz → 0.1.115__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.113 → mg-pso-gui-0.1.115}/PKG-INFO +2 -2
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/PKG-INFO +2 -2
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/SOURCES.txt +1 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/HomePage.py +1 -1
- mg-pso-gui-0.1.115/mgpsogui/util/sampler_test_driver.py +127 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/setup.py +2 -2
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/OptionManager.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/OptimalParameterView.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/play.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/refresh.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/stop.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/test.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/PSORunner.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/debug.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/helpers.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg-pso-gui-0.1.113 → mg-pso-gui-0.1.115}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mg-pso-gui
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.115
|
|
4
4
|
Summary: GUI for MG-PSO
|
|
5
5
|
Author: Robert Cordingly
|
|
6
6
|
Author-email: <rcording@uw.ed>
|
|
7
7
|
Keywords: python,muti-group,pso,particle,swarm,optimization,gui
|
|
8
8
|
Classifier: Development Status :: 1 - Planning
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Operating System :: Unix
|
|
12
12
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
13
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mg-pso-gui
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.115
|
|
4
4
|
Summary: GUI for MG-PSO
|
|
5
5
|
Author: Robert Cordingly
|
|
6
6
|
Author-email: <rcording@uw.ed>
|
|
7
7
|
Keywords: python,muti-group,pso,particle,swarm,optimization,gui
|
|
8
8
|
Classifier: Development Status :: 1 - Planning
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Operating System :: Unix
|
|
12
12
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
13
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -44,6 +44,7 @@ mgpsogui/util/PSORunner.py
|
|
|
44
44
|
mgpsogui/util/__init__.py
|
|
45
45
|
mgpsogui/util/debug.py
|
|
46
46
|
mgpsogui/util/helpers.py
|
|
47
|
+
mgpsogui/util/sampler_test_driver.py
|
|
47
48
|
mgpsogui/util/CTkToolTip/__init__.py
|
|
48
49
|
mgpsogui/util/CTkToolTip/ctk_tooltip.py
|
|
49
50
|
mgpsogui/util/recosu/__init__.py
|
|
@@ -548,7 +548,7 @@ class App(customtkinter.CTk):
|
|
|
548
548
|
value = step[param]
|
|
549
549
|
target_step = all_steps[index]
|
|
550
550
|
for target_param in target_step['param']:
|
|
551
|
-
if target_param['name'] == param:
|
|
551
|
+
if target_param['name'].get() == param:
|
|
552
552
|
target_param['optimal_value'].set(value)
|
|
553
553
|
index += 1
|
|
554
554
|
print("Applied optimal values")
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
from typing import List, Dict, Iterable
|
|
2
|
+
from recosu.sampling.sampler import run_sampler
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def main():
|
|
6
|
+
steps: List[Dict[str, any]] = [
|
|
7
|
+
{
|
|
8
|
+
"param": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Ksink",
|
|
11
|
+
"bounds": [
|
|
12
|
+
0.0,
|
|
13
|
+
5.0
|
|
14
|
+
],
|
|
15
|
+
"default_value": 1.0,
|
|
16
|
+
"type": "float",
|
|
17
|
+
"calibration_strategy": "none"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "a_rain",
|
|
21
|
+
"bounds": [
|
|
22
|
+
5.0,
|
|
23
|
+
10.0
|
|
24
|
+
],
|
|
25
|
+
"default_value": 1.0,
|
|
26
|
+
"type": "float",
|
|
27
|
+
"calibration_strategy": "none"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "flowRouteTA",
|
|
31
|
+
"bounds": [
|
|
32
|
+
0.01,
|
|
33
|
+
0.1
|
|
34
|
+
],
|
|
35
|
+
"default_value": 1.0,
|
|
36
|
+
"type": "float",
|
|
37
|
+
"calibration_strategy": "none"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "soilMaxDPS",
|
|
41
|
+
"bounds": [
|
|
42
|
+
0.001,
|
|
43
|
+
10.0
|
|
44
|
+
],
|
|
45
|
+
"default_value": 1.0,
|
|
46
|
+
"type": "float",
|
|
47
|
+
"calibration_strategy": "none"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"objfunc": [
|
|
51
|
+
{
|
|
52
|
+
"name": "ns",
|
|
53
|
+
"of": "ns",
|
|
54
|
+
"weight": 1.0,
|
|
55
|
+
"data": [
|
|
56
|
+
"orun5minall.csv/Runoff/orun[0]",
|
|
57
|
+
"output/csip_run/out/subDailyOutlet.csv/output/subDailyCatchmentSimRunoff"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
args: Dict[str, any] = {
|
|
65
|
+
"param": [
|
|
66
|
+
{
|
|
67
|
+
"name": "startTime",
|
|
68
|
+
"value": "2011-06-08"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "endTime",
|
|
72
|
+
"value": "2011-07-13"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "dataStartTime",
|
|
76
|
+
"value": "2011-06-08"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "dataEndTime",
|
|
80
|
+
"value": "2011-07-13"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "cal_startTime",
|
|
84
|
+
"value": "2011-06-08"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "cal_endTime",
|
|
88
|
+
"value": "2011-07-13"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "parallelismThreads",
|
|
92
|
+
"value": "8"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "flagLoadState",
|
|
96
|
+
"value": "True"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "payload",
|
|
100
|
+
"value": "false"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "project",
|
|
104
|
+
"value": "drake58hru-5min"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"url": "http://csip.engr.colostate.edu:8087/csip-oms/m/ages/1.0.1_sub",
|
|
108
|
+
"files": []
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
conf: Dict[str, any] = {
|
|
112
|
+
"service_timeout": 400,
|
|
113
|
+
"http_retry": 5,
|
|
114
|
+
"allow_redirects": True,
|
|
115
|
+
"async_call": True,
|
|
116
|
+
"conn_timeout": 10,
|
|
117
|
+
"read_timeout": 400,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
trace = run_sampler(steps, args, 10, 2, "halton", conf=conf, trace_file="halton_trace.csv", offset=5)
|
|
121
|
+
print(trace)
|
|
122
|
+
trace = run_sampler(steps, args, 10, 2, "random", conf=conf, trace_file="random_trace.csv")
|
|
123
|
+
print(trace)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
if __name__ == "__main__":
|
|
127
|
+
main()
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
import codecs
|
|
3
3
|
import os
|
|
4
4
|
|
|
5
|
-
VERSION = '0.1.
|
|
5
|
+
VERSION = '0.1.115'
|
|
6
6
|
DESCRIPTION = 'GUI for MG-PSO'
|
|
7
7
|
LONG_DESCRIPTION = open('../README.md').read()
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@ setup(
|
|
|
34
34
|
classifiers=[
|
|
35
35
|
"Development Status :: 1 - Planning",
|
|
36
36
|
"Intended Audience :: Developers",
|
|
37
|
-
"Programming Language :: Python :: 3.
|
|
37
|
+
"Programming Language :: Python :: 3.10",
|
|
38
38
|
"Operating System :: Unix",
|
|
39
39
|
"Operating System :: MacOS :: MacOS X",
|
|
40
40
|
"Operating System :: Microsoft :: Windows",
|
|
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.113 → mg-pso-gui-0.1.115}/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
|
|
File without changes
|
|
File without changes
|