triqs.lattice.utils.parse_hopping_from_wannier90_hr_dat
- triqs.lattice.utils.parse_hopping_from_wannier90_hr_dat(filename)[source]
Wannier90 real space hopping parser of
*_hr.datfiles.Returns a dictionary where the keys are the real-space hopping vectors, in terms of multiples of the lattice vectors, and the values are
num_wann * num_wannnumpy ndarrays with the hopping integrals.- Parameters:
filename (str) – Wannier90
*_hr.datfile to parse.- Returns:
hopp_dict (dict) – Dictionary of real space hoppings.
num_wann (int) – Total number of Wannier functions per unit-cell.