pengwann.io.read#
- io.read(seedname, path='.')#
Wrapper function for parsing various Wannier90 output files.
In total, this function will parse:
seedname.eig
seedname_u.mat
seedname_u_dis.mat (if disentanglement was used)
seedname_hr.dat
- Parameters:
- Returns:
- kpoints
ndarrayoffloat The k-point mesh used in the ab-initio calculation.
- eigenvalues
ndarrayoffloat The Kohn-Sham eigenvalues.
- u
ndarrayofcomplex The unitary matrices U^k that define the Wannier functions in terms of the canonical Bloch states.
- h
dictof {3-lengthtupleofintndarrayofcomplex} pairs. The Hamiltonian in the Wannier basis.
- kpoints
See also