quant-met 0.0.9__py3-none-any.whl → 0.0.10__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/__init__.py +2 -5
- quant_met/cli/main.py +30 -3
- quant_met/cli/scf.py +35 -3
- quant_met/geometry/__init__.py +1 -1
- quant_met/mean_field/__init__.py +3 -5
- quant_met/mean_field/hamiltonians/__init__.py +4 -2
- quant_met/mean_field/hamiltonians/base_hamiltonian.py +171 -78
- quant_met/mean_field/hamiltonians/dressed_graphene.py +4 -36
- quant_met/mean_field/hamiltonians/graphene.py +4 -36
- quant_met/mean_field/hamiltonians/one_band_tight_binding.py +6 -38
- quant_met/mean_field/hamiltonians/three_band_tight_binding.py +5 -37
- quant_met/mean_field/hamiltonians/two_band_tight_binding.py +5 -37
- quant_met/mean_field/quantum_metric.py +16 -56
- quant_met/mean_field/self_consistency.py +49 -6
- quant_met/parameters/__init__.py +11 -3
- quant_met/parameters/hamiltonians.py +33 -3
- quant_met/parameters/main.py +35 -3
- quant_met/plotting/__init__.py +0 -3
- quant_met/plotting/plotting.py +0 -34
- {quant_met-0.0.9.dist-info → quant_met-0.0.10.dist-info}/METADATA +1 -1
- quant_met-0.0.10.dist-info/RECORD +33 -0
- quant_met-0.0.9.dist-info/RECORD +0 -33
- {quant_met-0.0.9.dist-info → quant_met-0.0.10.dist-info}/LICENSE.txt +0 -0
- {quant_met-0.0.9.dist-info → quant_met-0.0.10.dist-info}/LICENSES/MIT.txt +0 -0
- {quant_met-0.0.9.dist-info → quant_met-0.0.10.dist-info}/WHEEL +0 -0
- {quant_met-0.0.9.dist-info → quant_met-0.0.10.dist-info}/entry_points.txt +0 -0
quant_met/plotting/plotting.py
CHANGED
@@ -212,37 +212,3 @@ def plot_superfluid_weight(
|
|
212
212
|
ax.set_ylabel(r"$D_S\ [t]$")
|
213
213
|
|
214
214
|
return fig
|
215
|
-
|
216
|
-
|
217
|
-
def plot_quantum_metric(
|
218
|
-
x_data: npt.NDArray[np.float64],
|
219
|
-
quantum_metric: npt.NDArray[np.float64],
|
220
|
-
fig_in: matplotlib.figure.Figure | None = None,
|
221
|
-
ax_in: matplotlib.axes.Axes | None = None,
|
222
|
-
) -> matplotlib.figure.Figure:
|
223
|
-
"""Plot quantum metric against some parameter.
|
224
|
-
|
225
|
-
Parameters
|
226
|
-
----------
|
227
|
-
x_data : :class:`numpy.ndarray`
|
228
|
-
quantum_metric : :class:`numpy.ndarray`
|
229
|
-
fig_in : :class:`matplotlib.figure.Figure`, optional
|
230
|
-
ax_in : :class:`matplotlib.axes.Axes`, optional
|
231
|
-
|
232
|
-
Returns
|
233
|
-
-------
|
234
|
-
:obj:`matplotlib.figure.Figure`
|
235
|
-
Figure with the data plotted onto the axis.
|
236
|
-
|
237
|
-
"""
|
238
|
-
if fig_in is None or ax_in is None:
|
239
|
-
fig, ax = plt.subplots()
|
240
|
-
else:
|
241
|
-
fig, ax = fig_in, ax_in
|
242
|
-
|
243
|
-
ax.plot(x_data, quantum_metric, "x--")
|
244
|
-
|
245
|
-
ax = format_plot(ax)
|
246
|
-
ax.set_ylabel(r"$M\ [t]$")
|
247
|
-
|
248
|
-
return fig
|
@@ -0,0 +1,33 @@
|
|
1
|
+
quant_met/__init__.py,sha256=ZO1UFz1awUYTI7B9ZkBwucvDz7GMGXnLLUGnEwLBhkc,155
|
2
|
+
quant_met/cli/__init__.py,sha256=nGFXhK8zWyEKQtsQTyJWfEOLFOHTCjZnfEcrVb2dARc,254
|
3
|
+
quant_met/cli/main.py,sha256=VyOu4FhpDR_CsSDaFcY4FlYrRxnRRCBFpwhLLB2GP2Y,1729
|
4
|
+
quant_met/cli/scf.py,sha256=8Ph13lcJcRg5vhqT4Ugf0HJ9FSt6huK0oS4SvTPgnVw,2355
|
5
|
+
quant_met/geometry/__init__.py,sha256=5BLliTnMzlzPrjzmphQ_EpTE6f6dF-uXgQU_Qj8sBoI,592
|
6
|
+
quant_met/geometry/base_lattice.py,sha256=dUBk3167cppy5nUNSEbXq57rwgbVnIen20jC_vrhomA,2642
|
7
|
+
quant_met/geometry/bz_path.py,sha256=q_eNhKYjhKLeFNjio8BdKVsseO6slQKlwKKSQQYTVJQ,2497
|
8
|
+
quant_met/geometry/graphene.py,sha256=AIKI2ice7LiKk5LHS27w97FkUds0UFV7EVNML3W5D28,1623
|
9
|
+
quant_met/geometry/square.py,sha256=lAEJ2R_2VBBPI_Bc-x-KhPE5r8AGoY1RgAx8GdoqdNY,1561
|
10
|
+
quant_met/mean_field/__init__.py,sha256=JgF26LUDI6LqOZdws6uZnilqdrEhj_3ysq-zElsL4DU,645
|
11
|
+
quant_met/mean_field/_utils.py,sha256=7hr0DDSdIqjft5Jjluvbw_HGoNLWgYJTxyuPJJvhBnc,356
|
12
|
+
quant_met/mean_field/hamiltonians/__init__.py,sha256=kLe31GiWYvPshl2-tpjEz0AHct2S1AuwRakAK2XDNSg,681
|
13
|
+
quant_met/mean_field/hamiltonians/base_hamiltonian.py,sha256=_GZLmNAcRAu6NGCM8PnwacPV9AlOxrGLo0vdgrcoBvM,18295
|
14
|
+
quant_met/mean_field/hamiltonians/dressed_graphene.py,sha256=sTApzorTj0jeXdEzeDxNUxuvSWq44UtVPwDzRawbvXs,4035
|
15
|
+
quant_met/mean_field/hamiltonians/graphene.py,sha256=tnmaaBka3G_vAMrg8ZsVcNGYjPPMPB3Z3NQfTbGRJNM,3263
|
16
|
+
quant_met/mean_field/hamiltonians/one_band_tight_binding.py,sha256=SXHPoVd_zyevNvUvmHuK85cfs2Y-_8phBbE7qM62RIE,2499
|
17
|
+
quant_met/mean_field/hamiltonians/three_band_tight_binding.py,sha256=MuOxUTPPBENjKBotPVQH-8343y4dv73jtZXo-w8mJsA,3282
|
18
|
+
quant_met/mean_field/hamiltonians/two_band_tight_binding.py,sha256=Vk01wY1UP4V1yYHZ9RmlbB0cybPJjGlrBUkR8d3o3j8,2852
|
19
|
+
quant_met/mean_field/quantum_metric.py,sha256=jjttOnLKR18oqX5yweHdgn17nfJCFbp932lq3yRh1pE,2615
|
20
|
+
quant_met/mean_field/self_consistency.py,sha256=MNPDopLcPs8v77AQCJot54SIWVazqaMxVIc4w4JgS6w,2906
|
21
|
+
quant_met/mean_field/superfluid_weight.py,sha256=c7fNcq7JQQBpKt0R5JjkGlO-pAoznblPkA__5rNCyVw,4118
|
22
|
+
quant_met/parameters/__init__.py,sha256=Pt2iI2y0donTs3IMVo30pQdMFChSciqxhwD_Gs-zysQ,917
|
23
|
+
quant_met/parameters/hamiltonians.py,sha256=c-POY9q38CBMzEnlUzkx17uH4lGnFa8dbX4h-QOiS08,6115
|
24
|
+
quant_met/parameters/main.py,sha256=acLuOLn5KD9_h5cbnd5H3akkF9XwcwAhLqV7jYJh0OA,1932
|
25
|
+
quant_met/plotting/__init__.py,sha256=HEt2KKhUOR1he2cKL9GLfGfqN87Q6jl_AKylGC20U4g,544
|
26
|
+
quant_met/plotting/plotting.py,sha256=ueFKhGK2mo-_JKifhRlgT6WDuEbKSMwDaTNnl70tCZQ,6583
|
27
|
+
quant_met/utils.py,sha256=JG_tShSL1JIi-Fn-N6mVD6J0sl7Egf-zuHnOSEKu7VA,1666
|
28
|
+
quant_met-0.0.10.dist-info/LICENSE.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
|
29
|
+
quant_met-0.0.10.dist-info/LICENSES/MIT.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
|
30
|
+
quant_met-0.0.10.dist-info/METADATA,sha256=xSLhNGqt2f7KGpg-Yj74M_h6QpFYr3PDbv0YFwNt798,2954
|
31
|
+
quant_met-0.0.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
32
|
+
quant_met-0.0.10.dist-info/entry_points.txt,sha256=fuVnEk5wiqPMEhn-Cc7q0Hdk2s_OniOn0zfdFPicH4Y,47
|
33
|
+
quant_met-0.0.10.dist-info/RECORD,,
|
quant_met-0.0.9.dist-info/RECORD
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
quant_met/__init__.py,sha256=ZO1UFz1awUYTI7B9ZkBwucvDz7GMGXnLLUGnEwLBhkc,155
|
2
|
-
quant_met/cli/__init__.py,sha256=If5Jdi7mG-5PbIyjQGxnt9o2bsY5VyE3qtdcO5yTGnQ,321
|
3
|
-
quant_met/cli/main.py,sha256=EZTRRTfrN3z-srgbG2BoDg64iYBjzZLuuMtrxTdZU8s,698
|
4
|
-
quant_met/cli/scf.py,sha256=sc26jlsslZkVOw8Y88Fgm8gR6DZ99VhtNePqgsd8Ac4,1434
|
5
|
-
quant_met/geometry/__init__.py,sha256=uCLEDBrYuMUkEgJmPnLAvR2WlmvoM9X9_cV_Q2zMzoA,620
|
6
|
-
quant_met/geometry/base_lattice.py,sha256=dUBk3167cppy5nUNSEbXq57rwgbVnIen20jC_vrhomA,2642
|
7
|
-
quant_met/geometry/bz_path.py,sha256=q_eNhKYjhKLeFNjio8BdKVsseO6slQKlwKKSQQYTVJQ,2497
|
8
|
-
quant_met/geometry/graphene.py,sha256=AIKI2ice7LiKk5LHS27w97FkUds0UFV7EVNML3W5D28,1623
|
9
|
-
quant_met/geometry/square.py,sha256=lAEJ2R_2VBBPI_Bc-x-KhPE5r8AGoY1RgAx8GdoqdNY,1561
|
10
|
-
quant_met/mean_field/__init__.py,sha256=yH_UovKDaP5c06cb1uWPtvIO2WQ76pi6ZTsNBzE8oso,793
|
11
|
-
quant_met/mean_field/_utils.py,sha256=7hr0DDSdIqjft5Jjluvbw_HGoNLWgYJTxyuPJJvhBnc,356
|
12
|
-
quant_met/mean_field/hamiltonians/__init__.py,sha256=bThuXC2jHzyD6rG0CAII8huD2kCRnc_Dp-Cl7g3MDxg,741
|
13
|
-
quant_met/mean_field/hamiltonians/base_hamiltonian.py,sha256=51uargS4B2MNAa-GFxuQ_hzZjIOhlfjBFwyeDMWs8gk,12653
|
14
|
-
quant_met/mean_field/hamiltonians/dressed_graphene.py,sha256=arOfEFegblNTckow1_Xz-sf7xPNahcasjv_kGo-n4PE,4744
|
15
|
-
quant_met/mean_field/hamiltonians/graphene.py,sha256=IDQVWDzGDgIliyNGPP-c-tsfEeevhdrbD1I4fZKHQJw,3972
|
16
|
-
quant_met/mean_field/hamiltonians/one_band_tight_binding.py,sha256=Yj_AX6llD-It_VupY6tOgwUfpypt4S5Hw4yGNpz1GXE,3166
|
17
|
-
quant_met/mean_field/hamiltonians/three_band_tight_binding.py,sha256=4-7ryAM0vYxuLX65Y2IPGv6pTbx7NaY_l-G9wgdDjHI,3967
|
18
|
-
quant_met/mean_field/hamiltonians/two_band_tight_binding.py,sha256=kTqZ5VWGleHhB5leCF22TdnD9yS7T9LKmhs7OqdXe0Q,3539
|
19
|
-
quant_met/mean_field/quantum_metric.py,sha256=dBHh5OW_noTfhNW_kAkjuvfHiMdWmoPPwCDEdR05_2s,3992
|
20
|
-
quant_met/mean_field/self_consistency.py,sha256=riyrqjZZSg9L1Ryu_qz-fT3DY8mU5xUyvpmgK8XQgGo,1203
|
21
|
-
quant_met/mean_field/superfluid_weight.py,sha256=c7fNcq7JQQBpKt0R5JjkGlO-pAoznblPkA__5rNCyVw,4118
|
22
|
-
quant_met/parameters/__init__.py,sha256=t2bjPDW7pVYKP8nLG4mnFEgKiype6xbt8nK4YnKh9UQ,736
|
23
|
-
quant_met/parameters/hamiltonians.py,sha256=JcXXwR31FUSMcqCZmix8oGC4iy1IqregiFtD45Uht-4,5087
|
24
|
-
quant_met/parameters/main.py,sha256=_pBm9tvlOPjoZ-2ECVMegyCaSXkfD6IwdhHk5s9oRKw,790
|
25
|
-
quant_met/plotting/__init__.py,sha256=s-DS22impzozKiS7p-v3yCmeccDQfXmBbtPiYMKwH0Y,620
|
26
|
-
quant_met/plotting/plotting.py,sha256=_SqL8GrDqlBtccHnUWpZPqdSJy0Yd_4dhFdUOxOzPpY,7447
|
27
|
-
quant_met/utils.py,sha256=JG_tShSL1JIi-Fn-N6mVD6J0sl7Egf-zuHnOSEKu7VA,1666
|
28
|
-
quant_met-0.0.9.dist-info/LICENSE.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
|
29
|
-
quant_met-0.0.9.dist-info/LICENSES/MIT.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
|
30
|
-
quant_met-0.0.9.dist-info/METADATA,sha256=mY2CC8l98QgEPyGx4KrRUfQ7kqDtbfqI6qCTYnnHhew,2953
|
31
|
-
quant_met-0.0.9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
32
|
-
quant_met-0.0.9.dist-info/entry_points.txt,sha256=fuVnEk5wiqPMEhn-Cc7q0Hdk2s_OniOn0zfdFPicH4Y,47
|
33
|
-
quant_met-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|