Wannier90 real space hopping parser of *_hr.dat files.

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_wann numpy ndarrays with the hopping integrals.

Parameters:filename (str) – Wannier90 *_hr.dat file to parse.
  • hopp_dict (dict) – Dictionary of real space hoppings.
  • num_wann (int) – Total number of Wannier functions per unit-cell.