xarpes 0.5.0__py3-none-any.whl → 0.6.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 +1 -1
- xarpes/bandmap.py +105 -34
- xarpes/functions.py +276 -51
- xarpes/mdcs.py +49 -6
- xarpes/selfenergies.py +1728 -89
- xarpes/settings_parameters.py +45 -0
- {xarpes-0.5.0.dist-info → xarpes-0.6.1.dist-info}/METADATA +10 -5
- xarpes-0.6.1.dist-info/RECORD +15 -0
- xarpes-0.5.0.dist-info/RECORD +0 -15
- {xarpes-0.5.0.dist-info → xarpes-0.6.1.dist-info}/LICENSE +0 -0
- {xarpes-0.5.0.dist-info → xarpes-0.6.1.dist-info}/WHEEL +0 -0
- {xarpes-0.5.0.dist-info → xarpes-0.6.1.dist-info}/entry_points.txt +0 -0
xarpes/settings_parameters.py
CHANGED
|
@@ -28,3 +28,48 @@ def parameter_settings(new_sigma_extend=None, new_sigma=None):
|
|
|
28
28
|
|
|
29
29
|
if new_sigma is not None:
|
|
30
30
|
sigma_confidence = float(new_sigma)
|
|
31
|
+
|
|
32
|
+
# ---------------- Defaults for MEM / chi2kink alpha-selection ----------------
|
|
33
|
+
|
|
34
|
+
mem_defaults = {
|
|
35
|
+
"method": "chi2kink",
|
|
36
|
+
"parts": "both",
|
|
37
|
+
"iter_max": 1e4,
|
|
38
|
+
"alpha_min": 1.0,
|
|
39
|
+
"alpha_max": 9.0,
|
|
40
|
+
"alpha_num": 10,
|
|
41
|
+
"ecut_left": 0.0,
|
|
42
|
+
"ecut_right": None,
|
|
43
|
+
"f_chi_squared": None,
|
|
44
|
+
"W": None,
|
|
45
|
+
"power": 4,
|
|
46
|
+
"mu": 1.0,
|
|
47
|
+
"omega_S": 1.0,
|
|
48
|
+
"sigma_svd": 1e-4,
|
|
49
|
+
"t_criterion": 1e-8,
|
|
50
|
+
"a_guess": 1.0,
|
|
51
|
+
"b_guess": 2.5,
|
|
52
|
+
"c_guess": 3.0,
|
|
53
|
+
"d_guess": 1.5,
|
|
54
|
+
"h_n": None,
|
|
55
|
+
"impurity_magnitude": 0.0,
|
|
56
|
+
"lambda_el": 0.0,
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
# ---------------- Defaults for bayesian_loop optimisation --------------------
|
|
60
|
+
|
|
61
|
+
loop_defaults = {
|
|
62
|
+
"converge_iters": 50,
|
|
63
|
+
"tole": 1e-2,
|
|
64
|
+
"scale_vF": 1.0,
|
|
65
|
+
"scale_mb": 1.0,
|
|
66
|
+
"scale_imp": 1.0,
|
|
67
|
+
"scale_kF": 1.0,
|
|
68
|
+
"scale_lambda_el": 1.0,
|
|
69
|
+
"scale_hn": 1.0,
|
|
70
|
+
"opt_iter_max": 1e4,
|
|
71
|
+
"rollback_steps": 10,
|
|
72
|
+
"max_retries": 100,
|
|
73
|
+
"relative_best": 10.0,
|
|
74
|
+
"min_steps_for_regression": 25,
|
|
75
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xarpes
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Extraction from angle resolved photoemission spectra
|
|
5
5
|
Author: xARPES Developers
|
|
6
6
|
Requires-Python: >=3.7.0
|
|
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
10
10
|
Requires-Dist: igor2>=0.5.8
|
|
11
11
|
Requires-Dist: jupyterlab
|
|
12
12
|
Requires-Dist: jupytext
|
|
13
|
-
Requires-Dist: matplotlib
|
|
13
|
+
Requires-Dist: matplotlib<3.10.0
|
|
14
14
|
Requires-Dist: numpy
|
|
15
15
|
Requires-Dist: scipy
|
|
16
16
|
Requires-Dist: lmfit
|
|
@@ -92,7 +92,7 @@ Answer `y` to questions. Create and activate a new environment:
|
|
|
92
92
|
conda create -n <my_env> -c conda-forge
|
|
93
93
|
conda activate <my_env>
|
|
94
94
|
|
|
95
|
-
Where `<my_env>` must be replaced by your desired name. Package compatibility
|
|
95
|
+
Where `<my_env>` must be replaced by your desired name. Package compatibility issues may arise if conda installs from different channels. This can be prevented by appending `--strict-channel-priority` to the creation command.
|
|
96
96
|
|
|
97
97
|
### Installing xARPES
|
|
98
98
|
|
|
@@ -149,12 +149,17 @@ Then perform editable installation:
|
|
|
149
149
|
|
|
150
150
|
# Examples
|
|
151
151
|
|
|
152
|
-
After installation of xARPES, the `examples/` folder can be downloaded
|
|
152
|
+
After installation of xARPES, the `examples/` folder can be downloaded from the terminal into the current directory:
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
xarpes_download_examples
|
|
155
155
|
|
|
156
156
|
This attempts to download the examples from the version corresponding encountered in `__init__.py`. If no corresponding tagged version can be downloaded, the code attempts to download the latest examples instead.
|
|
157
157
|
|
|
158
|
+
The examples can also be installed by executing `.py`or `.ipynb` executable files containing the following:
|
|
159
|
+
|
|
160
|
+
import xarpes
|
|
161
|
+
xarpes.download_examples()
|
|
162
|
+
|
|
158
163
|
# Execution
|
|
159
164
|
|
|
160
165
|
It is recommended to use JupyterLab to analyse data. JupyterLab is launched using:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
xarpes/__init__.py,sha256=9oZkGENT_ls_-nZIP60NbnUWQhSRmIZOFpJwMXkzpb4,756
|
|
2
|
+
xarpes/bandmap.py,sha256=1B5GbRXFdBPqnmeKPJW0mzlz-IUoLD-28rxrThpp4co,34664
|
|
3
|
+
xarpes/constants.py,sha256=XOdgSzyrmHr5xocHZfmcFHHoVAa1G05a305hm3XOTtY,504
|
|
4
|
+
xarpes/distributions.py,sha256=pC8V5MlZDNFdooMonFREEASiN5QodHiyKc2ehnxMKvQ,23498
|
|
5
|
+
xarpes/functions.py,sha256=ibWoSa7_yXD9XsIEif0kbbbHidIozBivvaAEui9f64A,20675
|
|
6
|
+
xarpes/mdcs.py,sha256=WRKSfGlRVKBssJp9FIHcAFsINVunPkmW9fBnFjqBHYI,42844
|
|
7
|
+
xarpes/plotting.py,sha256=lGCReHcXhYLQXR5ns3EHFjCQjJ9Sc-HifV7n4BnWby4,5189
|
|
8
|
+
xarpes/selfenergies.py,sha256=iP4WDPpcS5-3lyoREC0YaJZm3QXFdukvMD1_oH3I6mc,81141
|
|
9
|
+
xarpes/settings_parameters.py,sha256=yOYvgEiDeDiLzzLkvysCTiVwqg6fKIkN48B-WSad728,1912
|
|
10
|
+
xarpes/settings_plots.py,sha256=X-qteB2fIbBKOAcLMvMYDfQ8QdlUeA5xYQqF_Nyb4uA,1562
|
|
11
|
+
xarpes-0.6.1.dist-info/entry_points.txt,sha256=917UR-cqFTMMI_vMqIbk7boYSuFX_zHwQlXKcj9vlCE,79
|
|
12
|
+
xarpes-0.6.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
13
|
+
xarpes-0.6.1.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81
|
|
14
|
+
xarpes-0.6.1.dist-info/METADATA,sha256=XTcYSILIsgCEtVNKnNPflf5bCojTqYdKNGZPOAQlHB0,7154
|
|
15
|
+
xarpes-0.6.1.dist-info/RECORD,,
|
xarpes-0.5.0.dist-info/RECORD
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
xarpes/__init__.py,sha256=ZcX2N--vv1R2afnf7UkFZ-ScTCbnyktDs7-MU9D0aaM,756
|
|
2
|
-
xarpes/bandmap.py,sha256=izeL19ohznmBsphaf7LFsIf9lQzbKA7p48gC3b9sedM,31920
|
|
3
|
-
xarpes/constants.py,sha256=XOdgSzyrmHr5xocHZfmcFHHoVAa1G05a305hm3XOTtY,504
|
|
4
|
-
xarpes/distributions.py,sha256=pC8V5MlZDNFdooMonFREEASiN5QodHiyKc2ehnxMKvQ,23498
|
|
5
|
-
xarpes/functions.py,sha256=KEgRs0_OFzyf40M6Tg7bwWOdjjeJX_K9lSDkGKhhS-4,14566
|
|
6
|
-
xarpes/mdcs.py,sha256=Df1Yd3B3rfu6nL1KcnReAwRuxB5ag8wmhyR8gICQZtQ,41097
|
|
7
|
-
xarpes/plotting.py,sha256=lGCReHcXhYLQXR5ns3EHFjCQjJ9Sc-HifV7n4BnWby4,5189
|
|
8
|
-
xarpes/selfenergies.py,sha256=9rGECk7lX64--aAd_-5gvLA4lhD2bRTVHY03PVkd3Xs,21568
|
|
9
|
-
xarpes/settings_parameters.py,sha256=P2_uZC4VUUIzrTVwjqbeSHWtEssRXjUQZbTmfX3ROis,923
|
|
10
|
-
xarpes/settings_plots.py,sha256=X-qteB2fIbBKOAcLMvMYDfQ8QdlUeA5xYQqF_Nyb4uA,1562
|
|
11
|
-
xarpes-0.5.0.dist-info/entry_points.txt,sha256=917UR-cqFTMMI_vMqIbk7boYSuFX_zHwQlXKcj9vlCE,79
|
|
12
|
-
xarpes-0.5.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
13
|
-
xarpes-0.5.0.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81
|
|
14
|
-
xarpes-0.5.0.dist-info/METADATA,sha256=4HY_kT0eFmWmTJrHaM-duP_Ih3P2eT6DomcBj_ZFEv8,6996
|
|
15
|
-
xarpes-0.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|