triqs.gfs.gf_fnt.gf_fnt_fit_and_density.replace_by_tail
- triqs.gfs.gf_fnt.gf_fnt_fit_and_density.replace_by_tail()
Dispatched C++ function(s).
[1] (g: Gf[MeshImFreq, 2], tail: ndarray[complex, 3], n_min: int) -> void
Overwrite the high-frequency tail of a Matsubara Green’s function.
For every Matsubara index with \(|n| \geq n_{\min}\), the value of the Green’s function is replaced by the tail expansion evaluated at that frequency. Values at lower indices are left unchanged.
- Parameters:
- gGf[MeshImFreq, 2]
The Matsubara Green’s function to modify in place.
- tailndarray[complex, 3]
The high-frequency moments used to build the tail.
- n_minint
Minimum absolute Matsubara index from which to apply the tail.