LLNL-PyDV 3.6.3__tar.gz → 3.8.0__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.
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/LICENSE +4 -4
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/PKG-INFO +11 -12
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/curve.py +13 -6
- llnl_pydv-3.8.0/pydv/pdv +22 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/pdv.py +2884 -2175
- llnl_pydv-3.6.3/pydv/pdv → llnl_pydv-3.8.0/pydv/pdv_launcher.py +0 -3
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/pdvnavbar.py +4 -5
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/pdvplot.py +32 -43
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/pdvutil.py +29 -8
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/pydvpy.py +455 -923
- llnl_pydv-3.8.0/pydv/scripts/date.txt +1 -0
- llnl_pydv-3.8.0/pydv/scripts/version.txt +1 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pyproject.toml +8 -9
- llnl_pydv-3.6.3/pydv/scripts/date.txt +0 -1
- llnl_pydv-3.6.3/pydv/scripts/version.txt +0 -1
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/README.md +0 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/__init__.py +0 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/img/app_icon3.png +0 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/img/window-code-7.png +0 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/img/window-code-7@2x.png +0 -0
- {llnl_pydv-3.6.3 → llnl_pydv-3.8.0}/pydv/scripts/update_version_and_date.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Copyright (c) 2011-
|
|
2
|
-
Produced at the Lawrence Livermore National Laboratory
|
|
3
|
-
Written by Mason Kwiat, Douglas S. Miller,
|
|
4
|
-
e-mail:
|
|
1
|
+
Copyright (c) 2011-2025, Lawrence Livermore National Security, LLC.
|
|
2
|
+
Produced at the Lawrence Livermore National Laboratory
|
|
3
|
+
Written by Mason Kwiat, Douglas S. Miller, Kevin Griffin, Ephraim Rusu, Rachael Brooks, Sarah El-Jurf, Jorge Moreno
|
|
4
|
+
e-mail: moreno45@llnl.gov
|
|
5
5
|
LLNL-CODE-507071
|
|
6
6
|
All rights reserved.
|
|
7
7
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: LLNL-PyDV
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0
|
|
4
4
|
Summary: PyDV: Python Data Visualizer
|
|
5
5
|
License: BSD
|
|
6
|
-
|
|
7
|
-
Author
|
|
8
|
-
|
|
9
|
-
Maintainer
|
|
10
|
-
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Author: Jorge Moreno
|
|
8
|
+
Author-email: moreno45@llnl.gov
|
|
9
|
+
Maintainer: Jorge Moreno
|
|
10
|
+
Maintainer-email: moreno45@llnl.gov
|
|
11
|
+
Requires-Python: >=3.9
|
|
11
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
13
|
Classifier: Intended Audience :: Developers
|
|
13
14
|
Classifier: Intended Audience :: End Users/Desktop
|
|
@@ -16,20 +17,18 @@ Classifier: License :: OSI Approved :: BSD License
|
|
|
16
17
|
Classifier: License :: Other/Proprietary License
|
|
17
18
|
Classifier: Operating System :: OS Independent
|
|
18
19
|
Classifier: Programming Language :: Python :: 3
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
26
|
Classifier: Topic :: Scientific/Engineering
|
|
28
27
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
29
|
-
Requires-Dist:
|
|
30
|
-
Requires-Dist: PySide2
|
|
28
|
+
Requires-Dist: PyQt6
|
|
31
29
|
Requires-Dist: matplotlib
|
|
32
30
|
Requires-Dist: numpy
|
|
31
|
+
Requires-Dist: scikit-image
|
|
33
32
|
Requires-Dist: scikit-learn
|
|
34
33
|
Requires-Dist: scipy
|
|
35
34
|
Project-URL: Bug Tracker, https://github.com/LLNL/PyDV/issues
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
# Copyright (c)
|
|
2
|
-
# Produced at the Lawrence Livermore National Laboratory
|
|
3
|
-
#
|
|
4
|
-
# e-mail: rusu1@llnl.gov
|
|
1
|
+
# Copyright (c) Lawrence Livermore National Security, LLC.
|
|
2
|
+
# Produced at the Lawrence Livermore National Laboratory.
|
|
3
|
+
# See top-level LICENSE AND COPYRIGHT files for dates and other details.
|
|
5
4
|
# LLNL-CODE-507071
|
|
6
5
|
# All rights reserved.
|
|
7
6
|
|
|
@@ -76,6 +75,8 @@ class Curve(object):
|
|
|
76
75
|
title='',
|
|
77
76
|
record_id='',
|
|
78
77
|
step=False,
|
|
78
|
+
step_original_x=np.empty(0),
|
|
79
|
+
step_original_y=np.empty(0),
|
|
79
80
|
xticks_labels=None,
|
|
80
81
|
plotname='',
|
|
81
82
|
color='',
|
|
@@ -108,6 +109,8 @@ class Curve(object):
|
|
|
108
109
|
self.title = title
|
|
109
110
|
self.record_id = record_id
|
|
110
111
|
self.step = step
|
|
112
|
+
self.step_original_x = step_original_x,
|
|
113
|
+
self.step_original_y = step_original_y,
|
|
111
114
|
self.xticks_labels = xticks_labels
|
|
112
115
|
self.plotname = plotname
|
|
113
116
|
self.color = color
|
|
@@ -254,6 +257,8 @@ class Curve(object):
|
|
|
254
257
|
title=self.title,
|
|
255
258
|
record_id=self.record_id,
|
|
256
259
|
step=self.step,
|
|
260
|
+
step_original_x=self.step_original_x,
|
|
261
|
+
step_original_y=self.step_original_y,
|
|
257
262
|
xticks_labels=self.xticks_labels,
|
|
258
263
|
plotname=self.plotname,
|
|
259
264
|
color=self.color,
|
|
@@ -286,8 +291,10 @@ class Curve(object):
|
|
|
286
291
|
"""
|
|
287
292
|
|
|
288
293
|
c = self.copy()
|
|
289
|
-
|
|
290
|
-
|
|
294
|
+
try:
|
|
295
|
+
area0 = integrate.simpson(c.y, c.x)
|
|
296
|
+
except:
|
|
297
|
+
area0 = np.trapz(c.y, c.x)
|
|
291
298
|
c.y /= float(area0)
|
|
292
299
|
c.name = "Normalized %s" % self.plotname
|
|
293
300
|
return c
|
llnl_pydv-3.8.0/pydv/pdv
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
pth=$(realpath $0)
|
|
3
|
+
pth=$(dirname $pth)
|
|
4
|
+
pth="$pth/pdv_launcher.py $*"
|
|
5
|
+
|
|
6
|
+
if [[ $pth == *"pdv-sa"* ]]; then
|
|
7
|
+
|
|
8
|
+
/usr/tce/bin/python3 $pth
|
|
9
|
+
|
|
10
|
+
else
|
|
11
|
+
|
|
12
|
+
FILE="/usr/apps/weave/weave-prod-cpu/bin/activate"
|
|
13
|
+
|
|
14
|
+
if [ -e "$FILE" ]; then
|
|
15
|
+
|
|
16
|
+
source $FILE
|
|
17
|
+
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
python3 $pth
|
|
21
|
+
|
|
22
|
+
fi
|