xarpes 0.2.4__py3-none-any.whl → 0.3.1__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.
- xarpes/__init__.py +3 -5
- xarpes/constants.py +12 -0
- xarpes/distributions.py +500 -231
- xarpes/functions.py +255 -55
- xarpes/plotting.py +46 -28
- xarpes/spectral.py +2067 -0
- xarpes-0.3.1.dist-info/METADATA +168 -0
- xarpes-0.3.1.dist-info/RECORD +11 -0
- {xarpes-0.2.4.dist-info → xarpes-0.3.1.dist-info}/WHEEL +1 -1
- xarpes-0.3.1.dist-info/entry_points.txt +3 -0
- {xarpes-0.2.4.dist-info → xarpes-0.3.1.dist-info/licenses}/LICENSE +0 -0
- xarpes/.ipynb_checkpoints/__init__-checkpoint.py +0 -8
- xarpes/band_map.py +0 -302
- xarpes-0.2.4.dist-info/METADATA +0 -122
- xarpes-0.2.4.dist-info/RECORD +0 -10
xarpes/__init__.py
CHANGED
xarpes/constants.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Copyright (C) 2025 xARPES Developers
|
|
2
|
+
# This program is free software under the terms of the GNU GPLv3 license.
|
|
3
|
+
|
|
4
|
+
# Physical constants
|
|
5
|
+
kilo = 1e3 # 1000 [-]
|
|
6
|
+
uncr = 1.95996398 # Standard deviation to 95 % confidence [-]
|
|
7
|
+
k_B = 8.617333e-5 # Boltzmann constant [eV / K]
|
|
8
|
+
pref = 3.80998211616 # hbar^2 / (2 m_e) [eV Angstrom^2]
|
|
9
|
+
dtor = 0.01745329252 # Degrees to radians - pi / 180 [rad / deg]
|
|
10
|
+
fwhm_to_std = 2.35482004503 # Convert FWHM to std, sqrt[8 \times ln(2)] [-]
|
|
11
|
+
sigma_extend = 5 # Extend data range by "5 sigma"
|
|
12
|
+
stdv = 1.959963984 # "2 sigma" Gaussian STD - scipy.stats.norm.ppf(0.975)
|