gw_embedding.gw_flow.dummy_sumk.symm_deg_gf

dummy_sumk.symm_deg_gf(gf_to_symm, ish=0)[source]

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)