xarpes 0.3.2__py3-none-any.whl → 0.3.3__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 +1 -1
- xarpes/spectral.py +9 -9
- {xarpes-0.3.2.dist-info → xarpes-0.3.3.dist-info}/METADATA +2 -3
- xarpes-0.3.3.dist-info/RECORD +11 -0
- {xarpes-0.3.2.dist-info → xarpes-0.3.3.dist-info}/WHEEL +1 -1
- xarpes-0.3.2.dist-info/RECORD +0 -11
- {xarpes-0.3.2.dist-info/licenses → xarpes-0.3.3.dist-info}/LICENSE +0 -0
- {xarpes-0.3.2.dist-info → xarpes-0.3.3.dist-info}/entry_points.txt +0 -0
xarpes/__init__.py
CHANGED
xarpes/spectral.py
CHANGED
|
@@ -1888,7 +1888,7 @@ class SelfEnergy:
|
|
|
1888
1888
|
np.sin(np.abs(self._peak) * dtor)
|
|
1889
1889
|
self._peak_positions = (-1.0 if self._side == "left" \
|
|
1890
1890
|
else 1.0) * kpar_mag
|
|
1891
|
-
else:
|
|
1891
|
+
else:
|
|
1892
1892
|
self._peak_positions = np.sqrt(self._ekin_range / pref) \
|
|
1893
1893
|
* np.sin(self._peak * dtor)
|
|
1894
1894
|
return self._peak_positions
|
|
@@ -1900,7 +1900,7 @@ class SelfEnergy:
|
|
|
1900
1900
|
if self._peak_sigma is None or self._ekin_range is None:
|
|
1901
1901
|
return None
|
|
1902
1902
|
self._peak_positions_sigma = (np.sqrt(self._ekin_range / pref)
|
|
1903
|
-
* np.cos(self._peak * dtor)
|
|
1903
|
+
* np.abs(np.cos(self._peak * dtor))
|
|
1904
1904
|
* self._peak_sigma * dtor)
|
|
1905
1905
|
return self._peak_positions_sigma
|
|
1906
1906
|
|
|
@@ -1914,9 +1914,9 @@ class SelfEnergy:
|
|
|
1914
1914
|
if self._fermi_velocity is None:
|
|
1915
1915
|
raise AttributeError("Cannot compute `imag` "
|
|
1916
1916
|
"(SpectralLinear): set `fermi_velocity` first.")
|
|
1917
|
-
self._imag = self._fermi_velocity * np.sqrt(self._ekin_range \
|
|
1917
|
+
self._imag = np.abs(self._fermi_velocity) * np.sqrt(self._ekin_range \
|
|
1918
1918
|
/ pref) * self._broadening
|
|
1919
|
-
else:
|
|
1919
|
+
else:
|
|
1920
1920
|
if self._bare_mass is None:
|
|
1921
1921
|
raise AttributeError("Cannot compute `imag` "
|
|
1922
1922
|
"(SpectralQuadratic): set `bare_mass` first.")
|
|
@@ -1934,7 +1934,7 @@ class SelfEnergy:
|
|
|
1934
1934
|
if self._fermi_velocity is None:
|
|
1935
1935
|
raise AttributeError("Cannot compute `imag_sigma` "
|
|
1936
1936
|
"(SpectralLinear): set `fermi_velocity` first.")
|
|
1937
|
-
self._imag_sigma = self._fermi_velocity * \
|
|
1937
|
+
self._imag_sigma = np.abs(self._fermi_velocity) * \
|
|
1938
1938
|
np.sqrt(self._ekin_range / pref) * self._broadening_sigma
|
|
1939
1939
|
else: # SpectralQuadratic
|
|
1940
1940
|
if self._bare_mass is None:
|
|
@@ -1957,13 +1957,13 @@ class SelfEnergy:
|
|
|
1957
1957
|
"`fermi_wavevector` first.")
|
|
1958
1958
|
self._real = self.enel_range - self._fermi_velocity * \
|
|
1959
1959
|
(self.peak_positions - self._fermi_wavevector)
|
|
1960
|
-
else:
|
|
1960
|
+
else:
|
|
1961
1961
|
if self._bare_mass is None or self._fermi_wavevector is None:
|
|
1962
1962
|
raise AttributeError("Cannot compute `real` "
|
|
1963
1963
|
"(SpectralQuadratic): set `bare_mass` and " \
|
|
1964
1964
|
"`fermi_wavevector` first.")
|
|
1965
1965
|
self._real = self.enel_range - (pref / \
|
|
1966
|
-
|
|
1966
|
+
self._bare_mass) * (self.peak_positions**2 \
|
|
1967
1967
|
- self._fermi_wavevector**2)
|
|
1968
1968
|
return self._real
|
|
1969
1969
|
|
|
@@ -1977,8 +1977,8 @@ class SelfEnergy:
|
|
|
1977
1977
|
if self._fermi_velocity is None:
|
|
1978
1978
|
raise AttributeError("Cannot compute `real_sigma` "
|
|
1979
1979
|
"(SpectralLinear): set `fermi_velocity` first.")
|
|
1980
|
-
self._real_sigma = self._fermi_velocity * self.peak_positions_sigma
|
|
1981
|
-
else:
|
|
1980
|
+
self._real_sigma = np.abs(self._fermi_velocity) * self.peak_positions_sigma
|
|
1981
|
+
else:
|
|
1982
1982
|
if self._bare_mass is None or self._fermi_wavevector is None:
|
|
1983
1983
|
raise AttributeError("Cannot compute `real_sigma` "
|
|
1984
1984
|
"(SpectralQuadratic): set `bare_mass` and " \
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: xarpes
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Extraction from angle resolved photoemission spectra
|
|
5
5
|
Author: xARPES Developers
|
|
6
6
|
Requires-Python: >=3.7.0
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
License-File: LICENSE
|
|
11
10
|
Requires-Dist: igor2>=0.5.8
|
|
12
11
|
Requires-Dist: jupyterlab
|
|
13
12
|
Requires-Dist: jupytext
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
xarpes/__init__.py,sha256=fx6uw8FrJ2VesH-h-V0mQiUciW7oka3RL8jNgO0mtbs,125
|
|
2
|
+
xarpes/constants.py,sha256=vQxxFeCdGIxMpdh5XGbeRbn7-HF1d5snWkR09d8spGc,587
|
|
3
|
+
xarpes/distributions.py,sha256=svzhvf994_5gndJA1M04SW4MVfHEVwiAumbhO5Jj22s,23434
|
|
4
|
+
xarpes/functions.py,sha256=gE76z-Y9UI1KNUUtADyLziLU1UJ43E1CHLDi_khj0bc,12007
|
|
5
|
+
xarpes/plotting.py,sha256=W-5WaKjBtg8PIxTypqja2R29mgWkQ844lgRWci0nhn0,5679
|
|
6
|
+
xarpes/spectral.py,sha256=ze6rPKrOg5jMoTL3Pv2MNdDGu5wOMzJJ2OF_iyrslRc,78580
|
|
7
|
+
xarpes-0.3.3.dist-info/entry_points.txt,sha256=917UR-cqFTMMI_vMqIbk7boYSuFX_zHwQlXKcj9vlCE,79
|
|
8
|
+
xarpes-0.3.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
9
|
+
xarpes-0.3.3.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81
|
|
10
|
+
xarpes-0.3.3.dist-info/METADATA,sha256=sK0m3UVDAhHi5a5K29zmrz8eTBZLCvYqPkWLAXnnk7s,5741
|
|
11
|
+
xarpes-0.3.3.dist-info/RECORD,,
|
xarpes-0.3.2.dist-info/RECORD
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
xarpes/__init__.py,sha256=Wk8mY-vjImFwBLPPzg2ot_LCJ5sA0yrffNQy3Ik-hq8,125
|
|
2
|
-
xarpes/constants.py,sha256=vQxxFeCdGIxMpdh5XGbeRbn7-HF1d5snWkR09d8spGc,587
|
|
3
|
-
xarpes/distributions.py,sha256=svzhvf994_5gndJA1M04SW4MVfHEVwiAumbhO5Jj22s,23434
|
|
4
|
-
xarpes/functions.py,sha256=gE76z-Y9UI1KNUUtADyLziLU1UJ43E1CHLDi_khj0bc,12007
|
|
5
|
-
xarpes/plotting.py,sha256=W-5WaKjBtg8PIxTypqja2R29mgWkQ844lgRWci0nhn0,5679
|
|
6
|
-
xarpes/spectral.py,sha256=qw0qSeYfaCc9C28cGe32QrI3mK64KNcoNTDkS5EplmM,78637
|
|
7
|
-
xarpes-0.3.2.dist-info/entry_points.txt,sha256=917UR-cqFTMMI_vMqIbk7boYSuFX_zHwQlXKcj9vlCE,79
|
|
8
|
-
xarpes-0.3.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
9
|
-
xarpes-0.3.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
10
|
-
xarpes-0.3.2.dist-info/METADATA,sha256=jDXUPvkEx1obDPPHmlSbR32gZ3oTJnd5V6MlPu6HgSk,5763
|
|
11
|
-
xarpes-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|