triqs_dft_tools.sumk_dft_tools.SumkDFTTools.symm_deg_gf

SumkDFTTools.symm_deg_gf(gf_to_symm, ish=0)

Averages a GF or a dict of np.ndarrays over degenerate shells.

Degenerate shells of an inequivalent correlated shell are defined by self.deg_shells. This function enforces corresponding degeneracies in the input GF.

Parameters:
gf_to_symmgf_struct_solver like

Input and output GF (i.e., it gets overwritten) or dict of np.ndarrays.

ishint

Index of an inequivalent shell. (default value 0)