wolfhece 2.1.97__py3-none-any.whl → 2.1.99__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.
- wolfhece/PyConfig.py +5 -8
- wolfhece/PyDraw.py +598 -47
- wolfhece/PyParams.py +18 -8
- wolfhece/PyVertex.py +12 -5
- wolfhece/PyVertexvectors.py +30 -22
- wolfhece/Results2DGPU.py +23 -7
- wolfhece/analyze_vect.py +177 -0
- wolfhece/apps/version.py +1 -1
- wolfhece/matplotlib_fig.py +1980 -0
- wolfhece/scenario/config_manager.py +190 -82
- wolfhece/wolf_array.py +25 -6
- wolfhece/wolfresults_2D.py +35 -4
- {wolfhece-2.1.97.dist-info → wolfhece-2.1.99.dist-info}/METADATA +1 -1
- {wolfhece-2.1.97.dist-info → wolfhece-2.1.99.dist-info}/RECORD +17 -15
- {wolfhece-2.1.97.dist-info → wolfhece-2.1.99.dist-info}/WHEEL +1 -1
- {wolfhece-2.1.97.dist-info → wolfhece-2.1.99.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.97.dist-info → wolfhece-2.1.99.dist-info}/top_level.txt +0 -0
wolfhece/PyConfig.py
CHANGED
@@ -32,8 +32,7 @@ class ConfigurationKeys(Enum):
|
|
32
32
|
ASSEMBLY_IMAGES = "AssemblyImages"
|
33
33
|
|
34
34
|
class WolfConfiguration:
|
35
|
-
""" Holds the PyWolf configuration
|
36
|
-
"""
|
35
|
+
""" Holds the PyWolf configuration """
|
37
36
|
|
38
37
|
def __init__(self, path=None):
|
39
38
|
# We make sure we use a standard location
|
@@ -86,7 +85,6 @@ class WolfConfiguration:
|
|
86
85
|
ConfigurationKeys.ASSEMBLY_IMAGES.value: int
|
87
86
|
}
|
88
87
|
|
89
|
-
|
90
88
|
self._check_config()
|
91
89
|
|
92
90
|
def _check_config(self):
|
@@ -131,7 +129,7 @@ class GlobalOptionsDialog(wx.Dialog):
|
|
131
129
|
super(GlobalOptionsDialog, self).__init__(*args, **kw)
|
132
130
|
|
133
131
|
self.InitUI()
|
134
|
-
self.SetSize((
|
132
|
+
self.SetSize((600, 400))
|
135
133
|
self.SetTitle(_("Global options"))
|
136
134
|
|
137
135
|
def push_configuration(self, configuration):
|
@@ -196,9 +194,8 @@ class GlobalOptionsDialog(wx.Dialog):
|
|
196
194
|
self.cfg_ticks_size = wx.TextCtrl(pnl, value='500.',style = wx.TE_CENTRE )
|
197
195
|
|
198
196
|
hboxticks.Add(self.label_ticks_size, 1, wx.EXPAND)
|
199
|
-
hboxticks.Add(self.cfg_ticks_size, 1, wx.EXPAND)
|
200
|
-
|
201
|
-
sbs.Add(hboxticks, 1, wx.EXPAND)
|
197
|
+
hboxticks.Add(self.cfg_ticks_size, 1, wx.EXPAND, 5)
|
198
|
+
sbs.Add(hboxticks, 1, wx.EXPAND,5)
|
202
199
|
|
203
200
|
self.cfg_ticks_bounds = wx.CheckBox(pnl, label=_('Add bounds to ticks'))
|
204
201
|
self.cfg_ticks_bounds.SetToolTip(_('If not checked, the extreme values of the ticks will not be displayed'))
|
@@ -218,7 +215,7 @@ class GlobalOptionsDialog(wx.Dialog):
|
|
218
215
|
self.cfg_assembly_images.SetToolTip(_('Choose the assembly mode for images -- horizontal, vertical or square'))
|
219
216
|
|
220
217
|
locsizer.Add(self.label_assembly_images, 1, wx.EXPAND, 2)
|
221
|
-
locsizer.Add(self.cfg_assembly_images, 1, wx.EXPAND)
|
218
|
+
locsizer.Add(self.cfg_assembly_images, 1, wx.EXPAND,5)
|
222
219
|
|
223
220
|
sbs.Add(locsizer, 3, wx.EXPAND, 5)
|
224
221
|
|