pythtb.io.w90.read_bands_w90#

read_bands_w90(root, prefix, num_wan)[source]#

Read Wannier90-interpolated band structure.

Parameters:
rootPath or str

Directory containing the Wannier90 bands files.

prefixstr

Prefix used in the Wannier90 bands file names: “{prefix}_band.kpt” and “{prefix}_band.dat”.

num_wanint

Number of Wannier functions / bands expected.

Returns:
kpts_red(N_k, 3) reduced k-points
energies_ev(N_k, num_wan) energies in eV