triqs_dft_tools.converters.wannier90.read_wannier90_blochbasis_data

triqs_dft_tools.converters.wannier90.read_wannier90_blochbasis_data(wannier_seed, n_wannier_spin)[source]

Method for reading the files needed in the bloch_basis: seedname_u.mat, seedname.eig and potentially seedname_u_dis.mat.

Parameters:
wannier_seedstring

seedname to Wannier90 output

Returns:
u_mat_spinnp.ndarray

U_mn^k = unitary matrix elements which mix the Kohn-Sham states

udis_mat_spinnp.ndarray

U^dis(k) = rectangular matrix for entangled bands

ks_eigenvals_spinnp.ndarray

epsilon_nk = Kohn-Sham eigenvalues (in eV) needed for entangled bands

k_meshnp.ndarray

The k mesh read from the seedname_u.mat file to ensure consistency