gftool.beb.gf_loc_z

gftool.beb.gf_loc_z(z, self_beb_z, hopping, hilbert_trafo: Callable[[complex], complex], diag=True, rcond=None)[source]

Calculate average local Green’s function matrix in components.

For the self-consistent self-energy self_beb_z it is diagonal in the components. Note, that gf_loc_z contain the concentration.

Parameters:
z(…) complex np.ndarray

Frequency points.

self_beb_z(…, N_cmpt, N_cmpt) complex np.ndarray

BEB self-energy.

hopping(N_cmpt, N_cmpt) float array_like

Hopping matrix in the components.

hilbert_trafoCallable[[complex], complex]

Hilbert transformation of the lattice to calculate the local Green’s function.

diagbool, optional

If diag, only the diagonal elements are calculated, else the full matrix (default: True).

rcondfloat, optional

Cut-off ratio for small singular values of hopping. For the purposes of rank determination, singular values are treated as zero if they are smaller than rcond times the largest singular value of hopping.

Returns:
(…, N_cmpt) or (…, N_cmpt, N_cmpt) complex np.ndarray

The average local Green’s function matrix.

See also

solve_root