Skip to content

Commit

Permalink
[doc] dbse tight binding k_space path fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoStrand committed Aug 26, 2024
1 parent e3be325 commit 493bf07
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit 493bf07

Please sign in to comment.