pythtb.io.w90.read_hr#
- read_hr(root, prefix)[source]#
Read
prefix_hr.datreturning(num_wan, {R: HRBlock}).- Parameters:
- rootPath or str
Directory containing the Wannier90 hr file.
- prefixstr
Prefix used in the Wannier90 hr file name: “{prefix}_hr.dat”.
- Returns:
- num_wanint
Number of Wannier functions.
- ham_rdict
Mapping from lattice vector triplet R (tuple of ints) to
HRBlock.