gftool.cpa.gf_cmpt_z
- gftool.cpa.gf_cmpt_z(z, self_cpa_z, e_onsite, hilbert_trafo: Callable[[complex], complex])[source]
Green’s function for the components embedded in self_cpa_z.
- Parameters:
- z, self_cpa_z(…) complex np.ndarray
Frequency points and corresponding CPA self-energy.
- e_onsite(…, N_cmpt) float of complex np.ndarray
On-site energy of the components. This can also include a local frequency dependent self-energy of the component sites.
- hilbert_trafoCallable[[complex], complex]
Hilbert transformation of the lattice to calculate the coherent Green’s function.
- Returns:
- (…, N_cmpt) complex np.ndarray
The Green’s function of the components embedded in self_cpa_z.