From 493bf075bb901b57676d5bc51e7dcd1080fd0c79 Mon Sep 17 00:00:00 2001 From: "Hugo U. R. Strand" Date: Mon, 26 Aug 2024 15:59:10 +0200 Subject: [PATCH] [doc] dbse tight binding k_space path fix. --- .../dmft_susceptibility_dbse/tight_binding_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/user_guide/dmft_susceptibility_dbse/tight_binding_model.py b/doc/user_guide/dmft_susceptibility_dbse/tight_binding_model.py index b158cc3b..f9e7c0e9 100644 --- a/doc/user_guide/dmft_susceptibility_dbse/tight_binding_model.py +++ b/doc/user_guide/dmft_susceptibility_dbse/tight_binding_model.py @@ -66,8 +66,8 @@ def dft_band_structure(mu=11.6591, filename='./calc_dft/band_structure/sro_bands labels = [r'$\Gamma$', r'$X$', r'$M$', r'$\Gamma$', ] paths = [(G, X), (X, M), (M, G),] - from triqs_tprf.lattice_utils import k_space_path - k_vecs, k_plot, K_plot = k_space_path(paths, bz=t_r.bz, num=128) + from triqs.lattice.utils import k_space_path + k_vecs, k_plot, K_plot = k_space_path(paths, bz=t_r.bz, num=128, relative_coordinates=True) from numpy.linalg import eigvalsh as eigv e_k_interp = [ eigv(t_r.tb.fourier(k)) for k in k_vecs ]