triqs.gfs.backwd_compat.gf_legendre.GfLegendre

class triqs.gfs.backwd_compat.gf_legendre.GfLegendre(**kw)[source]

Bases: Gf

Deprecated backward-compatibility alias for Gf with a MeshLegendre mesh.

Use Gf(mesh=MeshLegendre(...), target_shape=...) instead. Constructing a GfLegendre emits a FutureWarning.

Parameters:
meshMeshLegendre, optional

Mesh of the Green’s function. If omitted, built from beta / n_points / statistic.

datanumpy.ndarray, optional

Storage of shape (*mesh_sizes, *target_shape). Mutually exclusive with target_shape.

target_shapelist of int, optional

Shape of the target space. Mutually exclusive with data.

betafloat, optional

Inverse temperature, used to build the mesh.

n_pointsint, optional

Number of Legendre coefficients. Default 30.

statistic{‘Fermion’, ‘Boson’}, optional

Statistic for the implicit mesh. Default 'Fermion'.

is_realbool, optional

Allocate real-valued storage.

namestr, optional

Plot label.