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_seed : string
seedname to Wannier90 output
- Returns:
u_mat_spin : np.ndarray
U_mn^k = unitary matrix elements which mix the Kohn-Sham states
udis_mat_spin : np.ndarray
U^dis(k) = rectangular matrix for entangled bands
ks_eigenvals_spin : np.ndarray
epsilon_nk = Kohn-Sham eigenvalues (in eV) needed for entangled bands
k_mesh : np.ndarray
The k mesh read from the seedname_u.mat file to ensure consistency