quant-met 0.1.0__py3-none-any.whl → 0.1.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.
- quant_met/cli/q_loop.py +10 -6
- {quant_met-0.1.0.dist-info → quant_met-0.1.1.dist-info}/METADATA +1 -1
- {quant_met-0.1.0.dist-info → quant_met-0.1.1.dist-info}/RECORD +6 -6
- {quant_met-0.1.0.dist-info → quant_met-0.1.1.dist-info}/WHEEL +0 -0
- {quant_met-0.1.0.dist-info → quant_met-0.1.1.dist-info}/entry_points.txt +0 -0
- {quant_met-0.1.0.dist-info → quant_met-0.1.1.dist-info}/licenses/LICENSE.txt +0 -0
quant_met/cli/q_loop.py
CHANGED
@@ -40,22 +40,24 @@ def q_loop(parameters: Parameters) -> None:
|
|
40
40
|
delta_vs_temp, critical_temperatures, fit_fig = routines.search_crit_temp(
|
41
41
|
hamiltonian=hamiltonian,
|
42
42
|
kgrid=k_grid_obj,
|
43
|
-
hubbard_int_orbital_basis=np.array(parameters.control.hubbard_int_orbital_basis),
|
44
|
-
epsilon=parameters.control.conv_treshold,
|
45
|
-
max_iter=parameters.control.max_iter,
|
43
|
+
hubbard_int_orbital_basis=np.array(parameters.control.crit_temp.hubbard_int_orbital_basis),
|
44
|
+
epsilon=parameters.control.crit_temp.conv_treshold,
|
45
|
+
max_iter=parameters.control.crit_temp.max_iter,
|
46
46
|
n_temp_points=20,
|
47
47
|
)
|
48
48
|
logger.info("Search for T_C completed successfully.")
|
49
49
|
logger.info("Obtained T_Cs: %s", critical_temperatures)
|
50
50
|
|
51
51
|
fit_fig.savefig(
|
52
|
-
result_path / f"{parameters.control.prefix}_critical_temperatures_fit.pdf",
|
52
|
+
result_path / f"{parameters.control.crit_temp.prefix}_critical_temperatures_fit.pdf",
|
53
53
|
bbox_inches="tight",
|
54
54
|
)
|
55
55
|
|
56
56
|
result_file_crit_temp = (
|
57
|
-
result_path / f"{parameters.control.prefix}_critical_temperatures.hdf5"
|
57
|
+
result_path / f"{parameters.control.crit_temp.prefix}_critical_temperatures.hdf5"
|
58
58
|
)
|
59
|
+
if result_file_crit_temp.exists():
|
60
|
+
result_file_crit_temp.exists()
|
59
61
|
delta_vs_temp.to_hdf(result_file_crit_temp, key="delta_vs_temp")
|
60
62
|
with h5py.File(result_file_crit_temp, mode="a") as file:
|
61
63
|
for orbital, crit_temp_orbital in enumerate(critical_temperatures):
|
@@ -82,7 +84,9 @@ def q_loop(parameters: Parameters) -> None:
|
|
82
84
|
)
|
83
85
|
|
84
86
|
result_file_q = result_path / f"{parameters.control.prefix}_q.hdf5"
|
85
|
-
|
87
|
+
|
88
|
+
if result_file_q.exists():
|
89
|
+
result_file_q.unlink()
|
86
90
|
for key, df in delta_vs_q.items():
|
87
91
|
df.to_hdf(result_file_q, key=f"temp_{float(key):.6f}")
|
88
92
|
with h5py.File(result_file_q, "a") as f:
|
@@ -9,7 +9,7 @@ quant_met/cli/__init__.py,sha256=11q_R4KoAKZy2EOuUgnAn4GxbS9yyTA6nSjKpDl-UjI,175
|
|
9
9
|
quant_met/cli/crit_temp.py,sha256=l4jPXY07z75FD7xgACrj_C2B3t3xX-yQeWlcnkEGIAA,2179
|
10
10
|
quant_met/cli/main.py,sha256=DNgXguBfVpp-pddmN-RKePeO1R2Dsr_b97BKei1MMG0,2074
|
11
11
|
quant_met/cli/q_analysis.py,sha256=H-3o-of_xEv3c1uUqtREGKroY-pk8Yu7RWXmLxi0xpU,1986
|
12
|
-
quant_met/cli/q_loop.py,sha256=
|
12
|
+
quant_met/cli/q_loop.py,sha256=WIwGAqP00zzePPtU3lrN0M4A4OP9miHbiT32omTVW0c,3696
|
13
13
|
quant_met/cli/scf.py,sha256=jpFoIpC0ghf48lK7SfNeTXXADEtyCzv6kzyMvdcBF1Y,3283
|
14
14
|
quant_met/parameters/__init__.py,sha256=d1XBoH8siW0fNRz5I8tpI2-JQfiSjadFBcmQANV97Zk,448
|
15
15
|
quant_met/parameters/control.py,sha256=ZxtAf35Gnb2LwooazcFrdb1d2b_sipGHIUtF5bZwTIg,1384
|
@@ -21,8 +21,8 @@ quant_met/routines/analyse_q_data.py,sha256=8q32GBB2ftYgdjWJ1_EpvcNJO9_Fn1kfKSaW
|
|
21
21
|
quant_met/routines/loop_over_q.py,sha256=3yYhCf_Xo7ziT5Pj4HmLDvvq8crbb7-MdJOjmyluYao,4460
|
22
22
|
quant_met/routines/search_crit_temp.py,sha256=phK2pJTibj8sgtxOghEJkurbG4xt2LRq23MTdfwygAE,9598
|
23
23
|
quant_met/routines/self_consistency.py,sha256=nb-gRzyEd24kc6ZU2O53ov07Zg3pN6wSz-9jjo68RCM,3071
|
24
|
-
quant_met-0.1.
|
25
|
-
quant_met-0.1.
|
26
|
-
quant_met-0.1.
|
27
|
-
quant_met-0.1.
|
28
|
-
quant_met-0.1.
|
24
|
+
quant_met-0.1.1.dist-info/METADATA,sha256=1b9db_Mgxi_W8tmD0yY4La_6y1MfvBoe7EvJaYPWxtA,1837
|
25
|
+
quant_met-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
26
|
+
quant_met-0.1.1.dist-info/entry_points.txt,sha256=1Al3Kt-cMeQxwMp84ZSNL0qFwlbOVBu1o8A19MH8lEU,48
|
27
|
+
quant_met-0.1.1.dist-info/licenses/LICENSE.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
|
28
|
+
quant_met-0.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|