triqs.experimental.lattice.lattice.read_wannier90_hr_data
- triqs.experimental.lattice.lattice.read_wannier90_hr_data()
Dispatched C++ function(s).
[1] (w90_path_and_seedname: str) -> tuple[[[int, len = 3]], [ndarray[complex, 2]]]
Read a Wannier90 *_hr.dat file and return the lattice vectors and hopping matrices.
The file is located by appending _hr.dat to the given path and seedname. The lattice vectors \(\mathbf{R}\) are returned in crystal (lattice) coordinates and the hoppings in eV.
- Parameters:
- w90_path_and_seednamestr
Path to the Wannier90 files including the seedname, such that the file to read is <w90_path_and_seedname>_hr.dat.
- Returns:
- tuple[[[int, len = 3]], [ndarray[complex, 2]]]
Tuple containing the lattice vectors \(\mathbf{R}\) (shape [nR, 3]) and the hopping matrices (shape [nR, nOrb, nOrb]).