gftool.beb.SpecDec.from_gf

classmethod SpecDec.from_gf(gf)gftool.matrix.Decomposition

Decompose the inverse Green’s function matrix.

The similarity transformation:

\[G^{-1} = P g P^{-1}, \quad g = diag(λ_l)\]
Parameters
gf(…, N, N) complex np.ndarray

matrix to be decomposed

Returns
Decomposition