triqs.gfs.tools.make_zero_tail

triqs.gfs.tools.make_zero_tail(g, n_moments=10)[source]

Container for high-frequency tail coefficients, initialized to zero.

Parameters:
gGf or BlockGf

Green’s function on a frequency or time mesh for which the tail is constructed.

n_momentsint, optional

Number of tail moments \(G_n\) (orders 0 ... n_moments-1). Default 10.

Returns:
numpy.ndarray or BlockGf-like

Zero array of shape (n_moments, *g.target_shape) for a single Gf; a block-wise container for a BlockGf.

Raises:
RuntimeError

If g is not a frequency or time Green’s function.