pengwann.io.read_eigenvalues#

io.read_eigenvalues(path, num_bands, num_kpoints)#

Parse the Kohn-Sham eigenvalues from a Wannier90 .eig file.

Parameters:
pathstr

The filepath to seedname.eig.

num_bandsint

The number of bands used in the prior Wannier90 calculation.

num_kpointsint

The number of k-points used in the prior Wanner90 calculation.

Returns:
eigenvaluesndarray of float

The Kohn-Sham eigenvalues.