xarpes 0.2.4__py3-none-any.whl → 0.6.0__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 +34 -6
- xarpes/bandmap.py +897 -0
- xarpes/constants.py +13 -0
- xarpes/distributions.py +516 -245
- xarpes/functions.py +573 -79
- xarpes/mdcs.py +1078 -0
- xarpes/plotting.py +37 -35
- xarpes/selfenergies.py +1816 -0
- xarpes/settings_parameters.py +75 -0
- xarpes/settings_plots.py +54 -0
- {xarpes-0.2.4.dist-info → xarpes-0.6.0.dist-info}/LICENSE +0 -0
- xarpes-0.6.0.dist-info/METADATA +181 -0
- xarpes-0.6.0.dist-info/RECORD +15 -0
- {xarpes-0.2.4.dist-info → xarpes-0.6.0.dist-info}/WHEEL +1 -1
- xarpes-0.6.0.dist-info/entry_points.txt +3 -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/constants.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright (C) 2025 xARPES Developers
|
|
2
|
+
# This program is free software under the terms of the GNU GPLv3 license.
|
|
3
|
+
|
|
4
|
+
"""Constants used elsewhere in xARPES."""
|
|
5
|
+
|
|
6
|
+
from scipy.constants import Boltzmann, elementary_charge, hbar, m_e
|
|
7
|
+
import numpy as np
|
|
8
|
+
|
|
9
|
+
# Physical constants
|
|
10
|
+
KILO = 1e3 # 1000 [-]
|
|
11
|
+
FWHM2STD = np.sqrt(8 * np.log(2)) # Convert FWHM to std [-]
|
|
12
|
+
K_B = Boltzmann / elementary_charge # Boltzmann constant [eV / K]
|
|
13
|
+
PREF = (hbar**2 / (2 * m_e)) / elementary_charge * 1e20 # hbar^2 / (2 m_e) [eV Angstrom^2]
|