triqs_dft_tools.converters.wannier90.read_misc_input

triqs_dft_tools.converters.wannier90.read_misc_input(w90_seed, n_spin_blocks, n_k)[source]

Reads input from DFT code calculations to get occupations, the band window, the Fermi energy and the basis for the k points.

Parameters:
w90_seedstring

seed of wannier90 calculations

n_spin_blocksint

SP + 1 - SO

n_kint

Number of k points

Returns:
fermi_weightsnp.ndarray[n_k, n_spin_blocks, n_bands]

occupations from DFT calculation

band_windownp.ndarray[n_k, n_spin_blocks, n_bands]

band indices of correlated subspace

fermi_energyfloat

the DFT Kohn-Sham Fermi energy

kpt_basis: np.ndarray[3, 3]

the basis vectors in reciprocal space