uedgetools 1.3.0__tar.gz → 1.3.1__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.
- {uedgetools-1.3.0/src/uedgetools.egg-info → uedgetools-1.3.1}/PKG-INFO +1 -1
- {uedgetools-1.3.0 → uedgetools-1.3.1/src/uedgetools.egg-info}/PKG-INFO +1 -1
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uedgetools.egg-info/SOURCES.txt +1 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDashboard/Dashboard.py +3 -3
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDatabase/DB_1Dplots.py +30 -30
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UePlot/CasePlot.py +1 -1
- uedgetools-1.3.1/src/uetools/VERSION +1 -0
- uedgetools-1.3.1/src/uetools/geometryTest.py +25 -0
- uedgetools-1.3.0/src/uetools/VERSION +0 -1
- {uedgetools-1.3.0 → uedgetools-1.3.1}/LICENSE +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/NOTICE.md +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/README.md +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/pyproject.toml +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/setup.cfg +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uedgetools.egg-info/dependency_links.txt +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uedgetools.egg-info/entry_points.txt +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uedgetools.egg-info/requires.txt +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uedgetools.egg-info/top_level.txt +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeBayesian/BayesDemo.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeBayesian/BayesUtility.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeBayesian/Bayesian.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeBayesian/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/Case.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/Config.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/Input.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/Parallel.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/Save.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCase/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/Cherab.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/README.md +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/bolometer_sensitivity.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/d3d/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/d3d/bolometer.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/d3d/wall.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeCherab/triangulate.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDEGAS/Coupling.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDEGAS/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDashboard/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDashboard/range_slider.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDatabase/DB_2Dplots.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDatabase/Database.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDatabase/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDiagnostics/Diagnostics.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDiagnostics/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDiagnostics/d3d_bolometer_projection.hdf5 +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeGrid/Grid.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeGrid/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UePlot/Plot.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UePlot/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UePostproc/Postproc.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeSolver/Solver.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeSolver/SolverStrategy.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeSolver/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/ADASclass.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/AboutSetup.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Convert.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Interpolate.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Lookup.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/RadTransp.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Tools.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Tracker.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/Utilities.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeUtils/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/Track.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/Commands.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/ScrollableNotebook.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/example/README.md +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/example/d3dHsm.h5 +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/example/ehr2.dat +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/example/rd_d3dHsm_in.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/UeGui/example/run.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/ignore/watch.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/yamls/__init__.py +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/yamls/plots.yaml +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/yamls/requiredvariables.yaml +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/yamls/setup_example.yaml +0 -0
- {uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/yamls/standardvariables.yaml +0 -0
|
@@ -10,6 +10,7 @@ src/uedgetools.egg-info/requires.txt
|
|
|
10
10
|
src/uedgetools.egg-info/top_level.txt
|
|
11
11
|
src/uetools/VERSION
|
|
12
12
|
src/uetools/__init__.py
|
|
13
|
+
src/uetools/geometryTest.py
|
|
13
14
|
src/uetools/UeBayesian/BayesDemo.py
|
|
14
15
|
src/uetools/UeBayesian/BayesUtility.py
|
|
15
16
|
src/uetools/UeBayesian/Bayesian.py
|
|
@@ -1072,14 +1072,14 @@ class CaseDashboard(QWidget):
|
|
|
1072
1072
|
def plot_pradhyd(self):
|
|
1073
1073
|
self.plot_driver(
|
|
1074
1074
|
self.get('pradhyd'),
|
|
1075
|
-
'Hydrogenic radiated power [W/m$\mathrm{{}^{-3}}$]',
|
|
1075
|
+
r'Hydrogenic radiated power [W/m$\mathrm{{}^{-3}}$]',
|
|
1076
1076
|
)
|
|
1077
1077
|
self.lastfunc = self.plot_pradhyd
|
|
1078
1078
|
|
|
1079
1079
|
def plot_pradimp(self):
|
|
1080
1080
|
self.plot_driver(
|
|
1081
1081
|
self.get('prad'),
|
|
1082
|
-
'Impurity radiated power [W/m$\mathrm{{}^{-3}}$]',
|
|
1082
|
+
r'Impurity radiated power [W/m$\mathrm{{}^{-3}}$]',
|
|
1083
1083
|
)
|
|
1084
1084
|
self.lastfunc = self.plot_pradimp
|
|
1085
1085
|
|
|
@@ -1814,7 +1814,7 @@ class MainMenu(QMainWindow):
|
|
|
1814
1814
|
self.popups.append(PopUp(self))
|
|
1815
1815
|
self.popups[-1].show()
|
|
1816
1816
|
title = plot.suptitle
|
|
1817
|
-
for substr in ["$", "\mathrm", "{","}"]:
|
|
1817
|
+
for substr in ["$", r"\mathrm", "{","}"]:
|
|
1818
1818
|
title = title.replace(substr, "")
|
|
1819
1819
|
title = self.centralWidget.tabText(self.activeTab())
|
|
1820
1820
|
self.popups[-1].setWindowTitle(title)
|
|
@@ -2,154 +2,154 @@
|
|
|
2
2
|
|
|
3
3
|
class DB_1DPlots():
|
|
4
4
|
|
|
5
|
-
def tiITsep(self, ylabel="$\mathrm{T_{i,sep}^{IT}}~[eV]$", **kwargs):
|
|
5
|
+
def tiITsep(self, ylabel=r"$\mathrm{T_{i,sep}^{IT}}~[eV]$", **kwargs):
|
|
6
6
|
return self.plotITsep(self.get("ti") / 1.602e-19,
|
|
7
7
|
ylabel=ylabel, **kwargs)
|
|
8
8
|
|
|
9
|
-
def tiOTsep(self, ylabel="$\mathrm{T_{i,sep}^{OT}~ [eV]$", **kwargs):
|
|
9
|
+
def tiOTsep(self, ylabel=r"$\mathrm{T_{i,sep}^{OT}~ [eV]$", **kwargs):
|
|
10
10
|
return self.plotOTsep(self.get("ti") / 1.602e-19,
|
|
11
11
|
ylabel=ylabel, **kwargs)
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
def teITsep(self, ylabel="$\mathrm{T_{e,sep}^{IT}}~[eV]$", **kwargs):
|
|
14
|
+
def teITsep(self, ylabel=r"$\mathrm{T_{e,sep}^{IT}}~[eV]$", **kwargs):
|
|
15
15
|
return self.plotITsep(self.get("te") / 1.602e-19,
|
|
16
16
|
ylabel=ylabel, **kwargs)
|
|
17
17
|
|
|
18
|
-
def teOTsep(self, ylabel="$\mathrm{T_{e,sep}^{OT}}~[eV]$", **kwargs):
|
|
18
|
+
def teOTsep(self, ylabel=r"$\mathrm{T_{e,sep}^{OT}}~[eV]$", **kwargs):
|
|
19
19
|
return self.plotOTsep(self.get("te") / 1.602e-19,
|
|
20
20
|
ylabel=ylabel, **kwargs)
|
|
21
21
|
|
|
22
|
-
def neOTsep(self, ylabel="$\mathrm{n_{e,sep}^{OT}}~[m^{-3}]$",**kwargs):
|
|
22
|
+
def neOTsep(self, ylabel=r"$\mathrm{n_{e,sep}^{OT}}~[m^{-3}]$",**kwargs):
|
|
23
23
|
return self.plotOTsep(self.get("ne"),
|
|
24
24
|
ylabel=ylabel, **kwargs)
|
|
25
25
|
|
|
26
|
-
def neITsep(self, ylabel="$\mathrm{n_{e,sep}^{IT}}~[m^{-3}]$", **kwargs):
|
|
26
|
+
def neITsep(self, ylabel=r"$\mathrm{n_{e,sep}^{IT}}~[m^{-3}]$", **kwargs):
|
|
27
27
|
return self.plotITsep(self.get("ne"),
|
|
28
28
|
ylabel=ylabel, **kwargs)
|
|
29
29
|
|
|
30
30
|
def niOTsep(self, species, ylabel=None, **kwargs):
|
|
31
31
|
if ylabel is None:
|
|
32
|
-
ylabel="$\mathrm{{n_{{i={},sep}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
32
|
+
ylabel=r"$\mathrm{{n_{{i={},sep}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
33
33
|
return self.plotOTsep(self.get("ni")[:,:,:,species],
|
|
34
34
|
ylabel=ylabel, **kwargs)
|
|
35
35
|
|
|
36
36
|
def niITsep(self, species, ylabel=None, **kwargs):
|
|
37
37
|
if ylabel is None:
|
|
38
|
-
ylabel="$\mathrm{{n_{{i={},sep}}^{{IT}} [m^{{-3}}]}}$".format(species)
|
|
38
|
+
ylabel=r"$\mathrm{{n_{{i={},sep}}^{{IT}} [m^{{-3}}]}}$".format(species)
|
|
39
39
|
return self.plotITsep(self.get("ni")[:,:,:,species],
|
|
40
40
|
ylabel=ylabel, **kwargs)
|
|
41
41
|
|
|
42
42
|
def ngOTsep(self, species, ylabel=None, **kwargs):
|
|
43
43
|
if ylabel is None:
|
|
44
|
-
ylabel="$\mathrm{{n_{{g={},sep}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
44
|
+
ylabel=r"$\mathrm{{n_{{g={},sep}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
45
45
|
return self.plotOTsep(self.get("ng")[:,:,:,species],
|
|
46
46
|
ylabel=ylabel, **kwargs)
|
|
47
47
|
|
|
48
48
|
def ngITsep(self, species, ylabel=None, **kwargs):
|
|
49
49
|
if ylabel is None:
|
|
50
|
-
ylabel="$\mathrm{{n_{{g={},sep}}^{{IT}}~[m^{{-3}}]}}$".format(species)
|
|
50
|
+
ylabel=r"$\mathrm{{n_{{g={},sep}}^{{IT}}~[m^{{-3}}]}}$".format(species)
|
|
51
51
|
return self.plotITsep(self.get("ng")[:,:,:,species],
|
|
52
52
|
ylabel=ylabel, **kwargs)
|
|
53
53
|
|
|
54
54
|
def tgOTsep(self, species, ylabel=None, **kwargs):
|
|
55
55
|
if ylabel is None:
|
|
56
|
-
ylabel="$\mathrm{{T_{{g={},sep}}^{{OT}}~[eV]}}$".format(species)
|
|
56
|
+
ylabel=r"$\mathrm{{T_{{g={},sep}}^{{OT}}~[eV]}}$".format(species)
|
|
57
57
|
return self.plotOTsep(self.get("tg")[:,:,:,species]/1.602e-19,
|
|
58
58
|
ylabel=ylabel, **kwargs)
|
|
59
59
|
|
|
60
60
|
def tgITsep(self, species, ylabel=None, **kwargs):
|
|
61
61
|
if ylabel is None:
|
|
62
|
-
ylabel="$\mathrm{{T_{{g={},sep}}^{{IT}}~[eV]}}$".format(species)
|
|
62
|
+
ylabel=r"$\mathrm{{T_{{g={},sep}}^{{IT}}~[eV]}}$".format(species)
|
|
63
63
|
return self.plotITsep(self.get("tg")[:,:,:,species]/1.602e-19,
|
|
64
64
|
ylabel=ylabel, **kwargs)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
def tiITmax(self, ylabel="$\mathrm{T_{i,max}^{IT}}~[eV]$", **kwargs):
|
|
68
|
+
def tiITmax(self, ylabel=r"$\mathrm{T_{i,max}^{IT}}~[eV]$", **kwargs):
|
|
69
69
|
return self.plotITmax(self.get("ti") / 1.602e-19,
|
|
70
70
|
ylabel=ylabel, **kwargs)
|
|
71
71
|
|
|
72
|
-
def tiOTmax(self, ylabel="$\mathrm{T_{i,max}^{OT}}~[eV]$", **kwargs):
|
|
72
|
+
def tiOTmax(self, ylabel=r"$\mathrm{T_{i,max}^{OT}}~[eV]$", **kwargs):
|
|
73
73
|
return self.plotOTmax(self.get("ti") / 1.602e-19,
|
|
74
74
|
ylabel=ylabel, **kwargs)
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
def teITmax(self, ylabel="$\mathrm{T_{e,max}^{IT}}~[eV]$", **kwargs):
|
|
77
|
+
def teITmax(self, ylabel=r"$\mathrm{T_{e,max}^{IT}}~[eV]$", **kwargs):
|
|
78
78
|
return self.plotITmax(self.get("te") / 1.602e-19,
|
|
79
79
|
ylabel=ylabel, **kwargs)
|
|
80
80
|
|
|
81
|
-
def teOTmax(self, ylabel="$\mathrm{T_{e,max}^{OT}}~[eV]$", **kwargs):
|
|
81
|
+
def teOTmax(self, ylabel=r"$\mathrm{T_{e,max}^{OT}}~[eV]$", **kwargs):
|
|
82
82
|
return self.plotOTmax(self.get("te") / 1.602e-19,
|
|
83
83
|
ylabel=ylabel, **kwargs)
|
|
84
84
|
|
|
85
|
-
def neOTmax(self, ylabel="$\mathrm{n_{e,max}^{OT}}~[m^{-3}]$",**kwargs):
|
|
85
|
+
def neOTmax(self, ylabel=r"$\mathrm{n_{e,max}^{OT}}~[m^{-3}]$",**kwargs):
|
|
86
86
|
return self.plotOTmax(self.get("ne"),
|
|
87
87
|
ylabel=ylabel, **kwargs)
|
|
88
88
|
|
|
89
|
-
def neITmax(self, ylabel="$\mathrm{n_{e,max}^{IT}}~[m^{-3}]$", **kwargs):
|
|
89
|
+
def neITmax(self, ylabel=r"$\mathrm{n_{e,max}^{IT}}~[m^{-3}]$", **kwargs):
|
|
90
90
|
return self.plotITmax(self.get("ne"),
|
|
91
91
|
ylabel=ylabel, **kwargs)
|
|
92
92
|
|
|
93
93
|
def niOTmax(self, species, ylabel=None, **kwargs):
|
|
94
94
|
if ylabel is None:
|
|
95
|
-
ylabel="$\mathrm{{n_{{i={},max}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
95
|
+
ylabel=r"$\mathrm{{n_{{i={},max}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
96
96
|
return self.plotOTmax(self.get("ni")[:,:,:,species],
|
|
97
97
|
ylabel=ylabel, **kwargs)
|
|
98
98
|
|
|
99
99
|
def niITmax(self, species, ylabel=None, **kwargs):
|
|
100
100
|
if ylabel is None:
|
|
101
|
-
ylabel="$\mathrm{{n_{{i={},max}}^{{IT}} [m^{{-3}}]}}$".format(species)
|
|
101
|
+
ylabel=r"$\mathrm{{n_{{i={},max}}^{{IT}} [m^{{-3}}]}}$".format(species)
|
|
102
102
|
return self.plotITmax(self.get("ni")[:,:,:,species],
|
|
103
103
|
ylabel=ylabel, **kwargs)
|
|
104
104
|
|
|
105
105
|
def ngOTmax(self, species, ylabel=None, **kwargs):
|
|
106
106
|
if ylabel is None:
|
|
107
|
-
ylabel="$\mathrm{{n_{{g={},max}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
107
|
+
ylabel=r"$\mathrm{{n_{{g={},max}}^{{OT}}~[m^{{-3}}]}}$".format(species)
|
|
108
108
|
return self.plotOTmax(self.get("ng")[:,:,:,species],
|
|
109
109
|
ylabel=ylabel, **kwargs)
|
|
110
110
|
|
|
111
111
|
def ngITmax(self, species, ylabel=None, **kwargs):
|
|
112
112
|
if ylabel is None:
|
|
113
|
-
ylabel="$\mathrm{{n_{{g={},max}}^{{IT}}~[m^{{-3}}]}}$".format(species)
|
|
113
|
+
ylabel=r"$\mathrm{{n_{{g={},max}}^{{IT}}~[m^{{-3}}]}}$".format(species)
|
|
114
114
|
return self.plotITmax(self.get("ng")[:,:,:,species],
|
|
115
115
|
ylabel=ylabel, **kwargs)
|
|
116
116
|
|
|
117
117
|
def tgOTmax(self, species, ylabel=None, **kwargs):
|
|
118
118
|
if ylabel is None:
|
|
119
|
-
ylabel="$\mathrm{{T_{{g={},max}}^{{OT}}~[eV]}}$".format(species)
|
|
119
|
+
ylabel=r"$\mathrm{{T_{{g={},max}}^{{OT}}~[eV]}}$".format(species)
|
|
120
120
|
return self.plotOTmax(self.get("tg")[:,:,:,species]/1.602e-19,
|
|
121
121
|
ylabel=ylabel, **kwargs)
|
|
122
122
|
|
|
123
123
|
def tgITmax(self, species, ylabel=None, **kwargs):
|
|
124
124
|
if ylabel is None:
|
|
125
|
-
ylabel="$\mathrm{{T_{{g={},max}}^{{IT}}~[eV]}}$".format(species)
|
|
125
|
+
ylabel=r"$\mathrm{{T_{{g={},max}}^{{IT}}~[eV]}}$".format(species)
|
|
126
126
|
return self.plotITmax(self.get("tg")[:,:,:,species]/1.602e-19,
|
|
127
127
|
ylabel=ylabel, **kwargs)
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
def tiOMP(self, ylabel="$\mathrm{T_{i,sep}^{OMP}~[eV]}$", **kwargs):
|
|
130
|
+
def tiOMP(self, ylabel=r"$\mathrm{T_{i,sep}^{OMP}~[eV]}$", **kwargs):
|
|
131
131
|
return self.plotOMP(self.get("ti")/1.602e-19, ylabel=ylabel, **kwargs)
|
|
132
132
|
|
|
133
|
-
def teOMP(self, ylabel="$\mathrm{T_{e,sep}^{OMP}~[eV]}$", **kwargs):
|
|
133
|
+
def teOMP(self, ylabel=r"$\mathrm{T_{e,sep}^{OMP}~[eV]}$", **kwargs):
|
|
134
134
|
return self.plotOMP(self.get("te")/1.602e-19, ylabel=ylabel, **kwargs)
|
|
135
135
|
|
|
136
136
|
def tgOMP(self, ylabel=None, species=None, **kwargs):
|
|
137
137
|
if ylabel is None:
|
|
138
|
-
ylabel = "$\mathrm{{T_{{g={},sep}}^{{OMP}}~[eV]}$".format(species)
|
|
138
|
+
ylabel = r"$\mathrm{{T_{{g={},sep}}^{{OMP}}~[eV]}$".format(species)
|
|
139
139
|
return self.plotOMP(self.get("tg")[:,:,:,species]/1.602e-19, ylabel=ylabel, **kwargs)
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
def niOMP(self, ylabel=None, species=None, **kwargs):
|
|
143
143
|
if ylabel is None:
|
|
144
|
-
ylabel = "$\mathrm{{n_{{i={},sep}}^{{OMP}}~[m^{{-3}}]}}$".format(species)
|
|
144
|
+
ylabel = r"$\mathrm{{n_{{i={},sep}}^{{OMP}}~[m^{{-3}}]}}$".format(species)
|
|
145
145
|
return self.plotOMP(self.get("ni")[:,:,:,species], ylabel=ylabel, **kwargs)
|
|
146
146
|
|
|
147
|
-
def neOMP(self, ylabel="$\mathrm{n_{e,sep}^{OMP}~[m^{-3}]}}$", **kwargs):
|
|
147
|
+
def neOMP(self, ylabel=r"$\mathrm{n_{e,sep}^{OMP}~[m^{-3}]}}$", **kwargs):
|
|
148
148
|
return self.plotOMP(self.get("ne"), ylabel=ylabel, **kwargs)
|
|
149
149
|
|
|
150
150
|
def ngOMP(self, ylabel=None, species=None, **kwargs):
|
|
151
151
|
if ylabel is None:
|
|
152
|
-
ylabel = "$\mathrm{{n_{{g={},sep}}^{{OMP}}~[m^{{-3}}]}}$".format(species)
|
|
152
|
+
ylabel = r"$\mathrm{{n_{{g={},sep}}^{{OMP}}~[m^{{-3}}]}}$".format(species)
|
|
153
153
|
return self.plotOMP(self.get("ng")[:,:,:,species], ylabel=ylabel, **kwargs)
|
|
154
154
|
|
|
155
155
|
|
|
@@ -41,7 +41,7 @@ class Caseplot(Plot):
|
|
|
41
41
|
|
|
42
42
|
label = '{}, case "{}"\n'.format(ctime(), self.info['casename'])
|
|
43
43
|
label += 'UEDGE {} v{}, UETOOLS v{}, user "{}", hostname "{}"\n'.format(
|
|
44
|
-
self.info['uedge_ver'].replace("$", "\$"),
|
|
44
|
+
self.info['uedge_ver'].replace("$", r"\$"),
|
|
45
45
|
self.info['pyver'],
|
|
46
46
|
self.info['uetoolsversion'],
|
|
47
47
|
self.info['user'],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.3.1
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from uetools import *
|
|
2
|
+
from uetools.UeVacuum import VacuumRegion
|
|
3
|
+
from UeVacuum.VacuumRegion import Surface
|
|
4
|
+
|
|
5
|
+
import matplotlib.pyplot as plt
|
|
6
|
+
|
|
7
|
+
c = Case()
|
|
8
|
+
c.vacuum.tokamakPlot()
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
'''Triangle Geometry'''
|
|
12
|
+
#c.vacuum.trianglePlot()
|
|
13
|
+
|
|
14
|
+
'''Square Geometry'''
|
|
15
|
+
# c.vacuum.squarePlot()
|
|
16
|
+
|
|
17
|
+
'''Shaded Geometry'''
|
|
18
|
+
# startingSurface = Surface((3, 1), (1, 1), 0)
|
|
19
|
+
# c.vacuum.geometries(startingSurface.lineOfSightVertices(), 1)
|
|
20
|
+
|
|
21
|
+
'''Full Tokamak Geometry'''
|
|
22
|
+
# c.vacuum.tokamakPlot()
|
|
23
|
+
|
|
24
|
+
input("Press 'Enter' to close plots.")
|
|
25
|
+
plt.close('all')
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.3.0
|
|
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
|
{uedgetools-1.3.0 → uedgetools-1.3.1}/src/uetools/UeDiagnostics/d3d_bolometer_projection.hdf5
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
|