PyGamLab 1.4.1__py3-none-any.whl → 1.5.8__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.
PyGamLab/Data_Analysis.py CHANGED
@@ -61,7 +61,6 @@ import seaborn as sns
61
61
  from scipy import stats
62
62
  from scipy.integrate import solve_bvp
63
63
  from scipy.signal import savgol_filter, find_peaks , peak_widths
64
- from scipy.integrate import simps
65
64
  from scipy.interpolate import interp1d
66
65
  from scipy.optimize import brentq
67
66
  from scipy.integrate import simpson # Corrected import
@@ -2277,8 +2276,8 @@ def WAXS_Analysis(data, application, **kwargs):
2277
2276
  peak_intensities = y[peaks]
2278
2277
 
2279
2278
  # Degree of crystallinity
2280
- Ac = simps(peak_intensities, peak_positions)
2281
- Aa = simps(y, x) - Ac
2279
+ Ac = simpson(peak_intensities, peak_positions)
2280
+ Aa = simpson(y, x) - Ac
2282
2281
  #Xc = (Ac / (Ac + Aa)) * 100
2283
2282
 
2284
2283
  results = pd.DataFrame({
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyGamLab
3
- Version: 1.4.1
3
+ Version: 1.5.8
4
4
  Summary: A scientific Python library with constants, unit convertors, formulas, and data analysis tools.
5
5
  Home-page: https://github.com/APMaii/pygamlab/tree/main
6
6
  Author: Ali Pilehvar Meibody
@@ -1,6 +1,6 @@
1
1
  PyGamLab/Constants.py,sha256=SrKmilorNEOXB-4TTYjJGroAmh6Ric7KIPiEXQS7eZg,121229
2
2
  PyGamLab/Converters.py,sha256=ZZxqOP4SgHjq4mUsmhwShZbcd_hxX2iLfWbJpDimra0,48060
3
- PyGamLab/Data_Analysis.py,sha256=nGK4md65HFv6cEDSdgWQobd05p9ozE0-6pkHOG3fPOs,227595
3
+ PyGamLab/Data_Analysis.py,sha256=albkIouUhqHr0NK73I0tipCoNkWchurs1iM9oud2Hig,227565
4
4
  PyGamLab/Functions.py,sha256=kbktgvBwbZfoqhdIvObCaEQuR9CK64baRs_4lI30Eqc,146200
5
5
  PyGamLab/__init__.py,sha256=xpL6fssZvmXb4kQXmH5QC7uxoxyX9pocarl4ILVLj_4,1977
6
6
  PyGamLab/structures/__init__.py,sha256=EcQDZnfBju2W7oH2_rt75MQMFTr2-3T2hdXmD5iEDPk,408
@@ -26,7 +26,7 @@ PyGamLab/structures/io/checker.py,sha256=mpSSPX0PoOA2E43pFMj7zpVG4kbUQDRak6ixNCW
26
26
  PyGamLab/structures/io/conversions.py,sha256=z_bIzF5SNNNzUUYvnmR5rPsMKfODmOB2dN51RDhzHi4,13457
27
27
  PyGamLab/structures/io/export.py,sha256=mput2AN7qGD2LlaUVffCQOllWtSVpWN-ilh7eOWg8FQ,13747
28
28
  PyGamLab/structures/io/read.py,sha256=JD6WUZolqdRWXdYOHqaw2GXCBwp-OGDyjJaBChfRyQM,21955
29
- pygamlab-1.4.1.dist-info/METADATA,sha256=WVf6xpTZ50ZgnfgnH6ywua81n7-Mjv5KcQuGi7x2-fI,10687
30
- pygamlab-1.4.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- pygamlab-1.4.1.dist-info/top_level.txt,sha256=E5IBZwx9PoAR8NyXgNAT3iUIuGvYfJlfyOKQY1sNkXU,9
32
- pygamlab-1.4.1.dist-info/RECORD,,
29
+ pygamlab-1.5.8.dist-info/METADATA,sha256=Dk9f8dMBtMaFLBOkpF8lvrz5I4v5ekbXb4XELoTWmhc,10687
30
+ pygamlab-1.5.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ pygamlab-1.5.8.dist-info/top_level.txt,sha256=E5IBZwx9PoAR8NyXgNAT3iUIuGvYfJlfyOKQY1sNkXU,9
32
+ pygamlab-1.5.8.dist-info/RECORD,,