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 CHANGED
@@ -1,8 +1,6 @@
1
- __version__ = '0.2.4'
1
+ __version__ = '0.3.1'
2
2
 
3
- from . import plotting
4
-
5
- from .band_map import *
3
+ from .spectral import *
6
4
  from .distributions import *
7
5
  from .functions import *
8
- from .plotting import *
6
+ from .plotting import *
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)