triqs.gfs.descriptor_base.Omega_

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

Bases: Base

Frequency-variable placeholder descriptor.

Implements the function \(\omega \mapsto \omega\) (real or Matsubara) acting on the diagonal of the target space. Two module-level instances, Omega and iOmega_n, are exposed for use in lazy expressions; they are interchangeable aliases and the choice between them is purely a matter of readability.

Methods

__call__(G)

Fill G.data with omega * I on every frequency mesh point.

Notes

Only frequency meshes (MeshImFreq, MeshDLRImFreq, MeshReFreq, MeshReFreqPts, MeshReFreqLog) are supported; applying this descriptor to an imaginary-time mesh raises TypeError.