PyGamLab 1.4.0__tar.gz → 1.4.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.
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PKG-INFO +7 -1
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/Data_Analysis.py +2 -3
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_nano_particles.py +33 -47
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/gamvis/__init__.py +1 -2
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab.egg-info/PKG-INFO +7 -1
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab.egg-info/requires.txt +3 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/README.md +3 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/pyproject.toml +5 -2
- {pygamlab-1.4.0 → pygamlab-1.4.2}/setup.py +2 -2
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/Constants.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/Converters.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/Functions.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_Graphene.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_nanotubes.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_phosphorene.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_sillicene.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Generators/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Generators/auto_bulk.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Generators/one_d.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Generators/two_d.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Generators/zero_d.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Primatom/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Primatom/gam_molecule.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/Primatom/gam_universe.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/gamvis/gamvis.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/gamvis/gamvis_engine.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/io/__init__.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/io/checker.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/io/conversions.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/io/export.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/io/read.py +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab.egg-info/SOURCES.txt +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab.egg-info/dependency_links.txt +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab.egg-info/top_level.txt +0 -0
- {pygamlab-1.4.0 → pygamlab-1.4.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGamLab
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
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
|
|
@@ -24,6 +24,9 @@ Requires-Dist: scikit-learn
|
|
|
24
24
|
Requires-Dist: ase
|
|
25
25
|
Requires-Dist: plotly
|
|
26
26
|
Requires-Dist: PyQt5
|
|
27
|
+
Requires-Dist: jarvis
|
|
28
|
+
Requires-Dist: mp_api
|
|
29
|
+
Requires-Dist: aflow
|
|
27
30
|
Dynamic: author
|
|
28
31
|
Dynamic: home-page
|
|
29
32
|
Dynamic: requires-python
|
|
@@ -182,6 +185,9 @@ To use **PyGamLab**, make sure you have the following Python packages installed:
|
|
|
182
185
|
- `ase`
|
|
183
186
|
- `plotly`
|
|
184
187
|
- `PyQt5`
|
|
188
|
+
- `jarvis`
|
|
189
|
+
- `mp_api`
|
|
190
|
+
- `aflow`
|
|
185
191
|
|
|
186
192
|
You can install all dependencies using:
|
|
187
193
|
|
|
@@ -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 =
|
|
2281
|
-
Aa =
|
|
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({
|
{pygamlab-1.4.0 → pygamlab-1.4.2}/PyGamLab/structures/GAM_architectures/GAM_nano_particles.py
RENAMED
|
@@ -14,55 +14,41 @@ from ase import Atoms
|
|
|
14
14
|
|
|
15
15
|
#from ..Primatom.gam_atom import REFERENCE_PERIODIC_TABLE_CONFIG
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'Zn': {'number': 30, 'mass': 65.38, 'config': '[Ar] 3d10 4s2', 'radius': 1.42},
|
|
50
|
-
'Ga': {'number': 31, 'mass': 69.723, 'config': '[Ar] 3d10 4s2 4p1', 'radius': 1.36},
|
|
51
|
-
'Ge': {'number': 32, 'mass': 72.630, 'config': '[Ar] 3d10 4s2 4p2', 'radius': 1.25},
|
|
52
|
-
'As': {'number': 33, 'mass': 74.922, 'config': '[Ar] 3d10 4s2 4p3', 'radius': 1.19},
|
|
53
|
-
'Se': {'number': 34, 'mass': 78.971, 'config': '[Ar] 3d10 4s2 4p4', 'radius': 1.16},
|
|
54
|
-
'Br': {'number': 35, 'mass': 79.904, 'config': '[Ar] 3d10 4s2 4p5', 'radius': 1.14},
|
|
55
|
-
'Kr': {'number': 36, 'mass': 83.798, 'config': '[Ar] 3d10 4s2 4p6', 'radius': 1.10},
|
|
56
|
-
'Cd': {'number': 48, 'mass': 112.411, 'config': '[Kr] 4d10 5s2', 'radius': 1.55},
|
|
57
|
-
'Pt': {'number': 78, 'mass': 195.084, 'config': '[Xe] 4f14 5d9 6s1', 'radius': 1.77},
|
|
58
|
-
'Ag': {'number': 47, 'mass': 107.868, 'config': '[Kr] 4d10 5s1', 'radius': 1.65},
|
|
59
|
-
'W': {'number': 74, 'mass': 183.84, 'config': '[Xe] 4f14 5d4 6s2', 'radius': 0.53},
|
|
60
|
-
'Nb': {'number': 41,'mass': 92.906, 'config': '[Kr] 4d4 5s1', 'radius': 1.46},
|
|
61
|
-
'Mo': {'number': 42,'mass': 95.94, 'config': '[Kr] 4d5 5s1', 'radius': 1.39},
|
|
62
|
-
'Ta': {'number': 73,'mass': 180.948, 'config': '[Xe] 4f14 5d3 6s2', 'radius': 1.43}
|
|
63
|
-
|
|
17
|
+
REFERENCE_PERIODIC_TABLE_CONFIG = {
|
|
18
|
+
'H': {'number': 1, 'mass': 1.008, 'config': '1s1', 'radius': 0.53, 'lattice_constant': None},
|
|
19
|
+
'He': {'number': 2, 'mass': 4.003, 'config': '1s2', 'radius': 0.31, 'lattice_constant': None},
|
|
20
|
+
'Li': {'number': 3, 'mass': 6.941, 'config': '[He] 2s1', 'radius': 1.67, 'lattice_constant': 3.49}, # bcc
|
|
21
|
+
'Be': {'number': 4, 'mass': 9.012, 'config': '[He] 2s2', 'radius': 1.12, 'lattice_constant': 2.29}, # hcp
|
|
22
|
+
'B': {'number': 5, 'mass': 10.811, 'config': '[He] 2s2 2p1', 'radius': 0.85, 'lattice_constant': 8.73},
|
|
23
|
+
'C': {'number': 6, 'mass': 12.011, 'config': '[He] 2s2 2p2', 'radius': 0.67, 'lattice_constant': 3.57}, # diamond
|
|
24
|
+
'N': {'number': 7, 'mass': 14.007, 'config': '[He] 2s2 2p3', 'radius': 0.56, 'lattice_constant': None},
|
|
25
|
+
'O': {'number': 8, 'mass': 15.999, 'config': '[He] 2s2 2p4', 'radius': 0.48, 'lattice_constant': None},
|
|
26
|
+
'F': {'number': 9, 'mass': 18.998, 'config': '[He] 2s2 2p5', 'radius': 0.42, 'lattice_constant': None},
|
|
27
|
+
'Ne': {'number': 10, 'mass': 20.180, 'config': '[He] 2s2 2p6', 'radius': 0.38, 'lattice_constant': None},
|
|
28
|
+
'Na': {'number': 11, 'mass': 22.990, 'config': '[Ne] 3s1', 'radius': 1.90, 'lattice_constant': 4.23}, # bcc
|
|
29
|
+
'Mg': {'number': 12, 'mass': 24.305, 'config': '[Ne] 3s2', 'radius': 1.45, 'lattice_constant': 3.21}, # hcp
|
|
30
|
+
'Al': {'number': 13, 'mass': 26.982, 'config': '[Ne] 3s2 3p1', 'radius': 1.18, 'lattice_constant': 4.05}, # fcc
|
|
31
|
+
'Si': {'number': 14, 'mass': 28.085, 'config': '[Ne] 3s2 3p2', 'radius': 1.11, 'lattice_constant': 5.43}, # diamond
|
|
32
|
+
'P': {'number': 15, 'mass': 30.974, 'config': '[Ne] 3s2 3p3', 'radius': 1.06, 'lattice_constant': 7.17},
|
|
33
|
+
'S': {'number': 16, 'mass': 32.06, 'config': '[Ne] 3s2 3p4', 'radius': 1.02, 'lattice_constant': None},
|
|
34
|
+
'Cl': {'number': 17, 'mass': 35.453, 'config': '[Ne] 3s2 3p5', 'radius': 0.99, 'lattice_constant': None},
|
|
35
|
+
'Ar': {'number': 18, 'mass': 39.948, 'config': '[Ne] 3s2 3p6', 'radius': 0.95, 'lattice_constant': None},
|
|
36
|
+
'K': {'number': 19, 'mass': 39.098, 'config': '[Ar] 4s1', 'radius': 2.43, 'lattice_constant': 5.23}, # bcc
|
|
37
|
+
'Ca': {'number': 20, 'mass': 40.078, 'config': '[Ar] 4s2', 'radius': 1.94, 'lattice_constant': 5.58}, # fcc
|
|
38
|
+
'Fe': {'number': 26, 'mass': 55.845, 'config': '[Ar] 3d6 4s2', 'radius': 1.56, 'lattice_constant': 2.87}, # bcc
|
|
39
|
+
'Cu': {'number': 29, 'mass': 63.546, 'config': '[Ar] 3d10 4s1', 'radius': 1.45, 'lattice_constant': 3.61}, # fcc
|
|
40
|
+
'Zn': {'number': 30, 'mass': 65.38, 'config': '[Ar] 3d10 4s2', 'radius': 1.42, 'lattice_constant': 2.66}, # hcp
|
|
41
|
+
'Ag': {'number': 47, 'mass': 107.868, 'config': '[Kr] 4d10 5s1', 'radius': 1.65, 'lattice_constant': 4.09}, # fcc
|
|
42
|
+
'Cd': {'number': 48, 'mass': 112.411, 'config': '[Kr] 4d10 5s2', 'radius': 1.55, 'lattice_constant': 2.98}, # hcp
|
|
43
|
+
'W': {'number': 74, 'mass': 183.84, 'config': '[Xe] 4f14 5d4 6s2', 'radius': 1.35, 'lattice_constant': 3.16}, # bcc
|
|
44
|
+
'Pt': {'number': 78, 'mass': 195.084, 'config': '[Xe] 4f14 5d9 6s1', 'radius': 1.39, 'lattice_constant': 3.92}, # fcc
|
|
45
|
+
'Au': {'number': 79, 'mass': 196.967, 'config': '[Xe] 4f14 5d10 6s1', 'radius': 1.44, 'lattice_constant': 4.08}, # fcc
|
|
46
|
+
'Ta': {'number': 73, 'mass': 180.948, 'config': '[Xe] 4f14 5d3 6s2', 'radius': 1.43, 'lattice_constant': 3.30}, # bcc
|
|
47
|
+
'Nb': {'number': 41, 'mass': 92.906, 'config': '[Kr] 4d4 5s1', 'radius': 1.46, 'lattice_constant': 3.30}, # bcc
|
|
48
|
+
'Mo': {'number': 42, 'mass': 95.94, 'config': '[Kr] 4d5 5s1', 'radius': 1.39, 'lattice_constant': 3.15}, # bcc
|
|
64
49
|
}
|
|
65
50
|
|
|
51
|
+
|
|
66
52
|
@dataclass
|
|
67
53
|
class AtomicData:
|
|
68
54
|
"""Store atomic data for different elements."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGamLab
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
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
|
|
@@ -24,6 +24,9 @@ Requires-Dist: scikit-learn
|
|
|
24
24
|
Requires-Dist: ase
|
|
25
25
|
Requires-Dist: plotly
|
|
26
26
|
Requires-Dist: PyQt5
|
|
27
|
+
Requires-Dist: jarvis
|
|
28
|
+
Requires-Dist: mp_api
|
|
29
|
+
Requires-Dist: aflow
|
|
27
30
|
Dynamic: author
|
|
28
31
|
Dynamic: home-page
|
|
29
32
|
Dynamic: requires-python
|
|
@@ -182,6 +185,9 @@ To use **PyGamLab**, make sure you have the following Python packages installed:
|
|
|
182
185
|
- `ase`
|
|
183
186
|
- `plotly`
|
|
184
187
|
- `PyQt5`
|
|
188
|
+
- `jarvis`
|
|
189
|
+
- `mp_api`
|
|
190
|
+
- `aflow`
|
|
185
191
|
|
|
186
192
|
You can install all dependencies using:
|
|
187
193
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyGamLab"
|
|
7
|
-
version = "1.4.
|
|
7
|
+
version = "1.4.2"
|
|
8
8
|
description = "A scientific Python library with constants, unit convertors, formulas, and data analysis tools."
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Ali Pilehvar Meibody", email="alipilehvar1999@Gmail.com" }
|
|
@@ -27,7 +27,10 @@ dependencies = [
|
|
|
27
27
|
"scikit-learn",
|
|
28
28
|
"ase",
|
|
29
29
|
"plotly",
|
|
30
|
-
"PyQt5"
|
|
30
|
+
"PyQt5",
|
|
31
|
+
"jarvis" ,
|
|
32
|
+
"mp_api" ,
|
|
33
|
+
"aflow"
|
|
31
34
|
]
|
|
32
35
|
|
|
33
36
|
[project.urls]
|
|
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="PyGamLab",
|
|
8
|
-
version="1.4.
|
|
8
|
+
version="1.4.2",
|
|
9
9
|
author="Ali Pilehvar Meibody",
|
|
10
10
|
author_email="alipilehvar1999@gmail.com",
|
|
11
11
|
description="A scientific Python library with constants, unit convertors, formulas, and data analysis tools.",
|
|
@@ -17,7 +17,7 @@ setup(
|
|
|
17
17
|
python_requires=">=3.7",
|
|
18
18
|
install_requires=[
|
|
19
19
|
"numpy", "pandas", "scipy", "matplotlib", "seaborn", "scikit-learn",
|
|
20
|
-
"ase" , "plotly","PyQt5"
|
|
20
|
+
"ase" , "plotly","PyQt5" , "jarvis" , "mp_api" , "aflow"
|
|
21
21
|
],
|
|
22
22
|
#include_package_data=True,
|
|
23
23
|
)
|
|
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
|