triqs_dft_tools.converters.wannier90.read_all_wannier90_data
- triqs_dft_tools.converters.wannier90.read_all_wannier90_data(n_spin_blocks, dim_corr_shells, w90_seed, add_lambda, bloch_basis)[source]
Reads in all the wannier90 data using the functions read_wannier90_hr_data and read_wannier90_blochbasis_data. Reads in everything for each spin channel (into the variables marked with _spin) and runs consistency checks on them or combines them.
- Returns:
wannier_hr : np.ndarray[n_spin_blocks, n_r, n_wannier, n_wannier] of complex
Hamilonian matrix elements in the Wannier basis
u_total : np.ndarray[n_spin_blocks, n_k, n_wannier, n_bands] of complex
The projection matrix as read from wannier. None if not bloch_basis
ks_eigenvals : np.ndarray[n_spin_blocks, n_k, n_bands] of float
The KS eigenvalues of the bands per k point. None if not bloch_basis
r_vector : np.ndarray[n_r, 3] of int
The r vectors of the wannier Hamiltonian
r_degeneracy : np.ndarray[n_r] of int
The degeneracy per r point
n_wannier: int :
Number of wannier functions
n_bands : int
Number of bands
k_mesh_from_umat : np.ndarray[n_k, 3] of float
The k points as used in wannier for consistency. None if not bloch_basis