triqs.gfs.descriptor_base.Base

class triqs.gfs.descriptor_base.Base(**kargs)[source]

Bases: LazyExprTerminal

Base class for every Green’s function descriptor.

Stores the constructor’s keyword arguments as attributes. Subclasses implement __call__(self, G) to fill the data of the target Green’s function G in place and return it.

Parameters:
**kargs

Configuration values that subclasses will read back from self during __call__().

Notes

A descriptor is a LazyExprTerminal, so descriptors can be combined with +, -, *, / and scalars to form LazyExpr trees evaluated on the left-hand side of <<.