triqs_dft_tools.sumk_dft_tools.SumkDFTTools.occupations

SumkDFTTools.occupations(mu=None, with_Sigma=True, with_dc=True, save_occ=True)[source]

Calculates the band resolved density matrices (occupations) from the Matsubara frequency self-energy.

Parameters:
mudouble, optional

Chemical potential, overrides the one stored in the hdf5 archive.

with_Sigmaboolean, optional

If True, the self energy is used for the calculation. If false, the DOS is calculated without self energy.

with_dcboolean, optional

If True the double counting correction is used.

save_occboolean, optional

If True, saves the band resolved density matrix in misc_data.

save_to_fileboolean, optional

If True, text files with the calculated data will be created.

Returns:
occikDict of numpy arrays

Contains the band-resolved density matrices per k-point.