triqs.gfs.backwd_compat.gf_legendre.GfLegendre.replace_by_tail_in_fit_window
- GfLegendre.replace_by_tail_in_fit_window(*args, **kw)
Dispatched C++ function(s).
[1] (g: Gf[MeshImFreq, 2], tail: ndarray[complex, 3]) -> void
Overwrite the high-frequency portion of a Matsubara Green’s function with the tail expansion.
The cutoff \(n_{\min}\) is first set automatically from the tail-fit window of the mesh. Then the function delegates to
replace_by_tail.- 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.