LLNL-PyDV 3.7.0__tar.gz → 3.8.2__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.
@@ -1,7 +1,7 @@
1
- Copyright (c) 2011-2024, Lawrence Livermore National Security, LLC.
2
- Produced at the Lawrence Livermore National Laboratory
3
- Written by Mason Kwiat, Douglas S. Miller, and Kevin Griffin, Ephraim Rusu, Sarah El-Jurf, Jorge Moreno
4
- e-mail: eljurf11@llnl.gov, moreno45@llnl.gov
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.3
1
+ Metadata-Version: 2.4
2
2
  Name: LLNL-PyDV
3
- Version: 3.7.0
3
+ Version: 3.8.2
4
4
  Summary: PyDV: Python Data Visualizer
5
5
  License: BSD
6
- Author: Sarah El-Jurf
7
- Author-email: eljurf1@llnl.gov
8
- Maintainer: Sarah El-Jurf
9
- Maintainer-email: eljurf1@llnl.gov
10
- Requires-Python: >=3.6
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: PyQt5
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) 2011-2024, Lawrence Livermore National Security, LLC.
2
- # Produced at the Lawrence Livermore National Laboratory
3
- # Written by Mason Kwiat, Douglas S. Miller, and Kevin Griffin, Ephraim Rusu
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
 
@@ -292,8 +291,10 @@ class Curve(object):
292
291
  """
293
292
 
294
293
  c = self.copy()
295
-
296
- area0 = integrate.simpson(c.y, c.x)
294
+ try:
295
+ area0 = integrate.simpson(c.y, c.x)
296
+ except:
297
+ area0 = np.trapz(c.y, c.x)
297
298
  c.y /= float(area0)
298
299
  c.name = "Normalized %s" % self.plotname
299
300
  return c