triqs.atom_diag.atom_diag.atomic_g_w
- triqs.atom_diag.atom_diag.atomic_g_w()
Dispatched C++ function(s).
[1] (atom: AtomDiagReal, beta: float, gf_struct: [tuple[str, int]], energy_window: tuple[float, float], n_w: int, broadening: float = 0, excluded_states: [tuple[int, int]] = <unprintable>) -> BlockGf[MeshReFreq, 2] [2] (atom: AtomDiagComplex, beta: float, gf_struct: [tuple[str, int]], energy_window: tuple[float, float], n_w: int, broadening: float = 0, excluded_states: [tuple[int, int]] = <unprintable>) -> BlockGf[MeshReFreq, 2]
Build the atomic retarded Green’s function on a real-frequency mesh directly from a solved diagonalization problem.
Internally builds the Lehmann representation, constructs a real-frequency mesh from the requested energy window and number of frequency points, and evaluates
\[G(\omega) = \sum_p \frac{r_p}{\omega + i\eta - p} \; ,\]with the broadening \(\eta\).
- Parameters:
- atomAtomDiagReal, AtomDiagComplex
Solved diagonalization problem.
- betafloat
Inverse temperature \(\beta > 0\).
- gf_struct[tuple[str, int]]
Block structure of the Green’s function: block name -> list of inner indices.
- energy_windowtuple[float, float]
Energy window \((\omega_{\text{min}}, \omega_{\text{max}})\) of the real-frequency mesh.
- n_wint
Number of frequency points.
- broadeningfloat
Lorentzian broadening \(\eta\) of the spectrum (small positive imaginary-frequency shift).
- excluded_states[tuple[int, int]]
Eigenstates to exclude from the Lehmann sum, as \((B, i)\) pairs.
- Returns:
- BlockGf[MeshReFreq, 2]
Atomic Green’s function \(G_{ab}(\omega)\).