3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/doc/reference/python/lattice/hilbert.rst

30 lines
681 B
ReStructuredText
Raw Normal View History

.. _hilbert_transform:
.. module:: pytriqs.dos.hilbert_transform
Hilbert Transform
=======================================
TRIQS comes with a Hilbert transform. Let us look at an example:
.. literalinclude:: ex_Hilbert.py
Given a density of states `d` (here for a tight-binding model), the Hilbert transform `H` is defined is defined in the following way::
H = HilbertTransform(d)
To construct a Green's function::
G = GfImFreq(indices = ['up','down'], beta = 20)
Sigma0 = GfImFreq(indices = ['up','down'], beta = 20); Sigma0.zero()
G <<= H(Sigma = Sigma0, mu=0.)
.. autoclass:: pytriqs.dos.HilbertTransform
:members: __call__
:undoc-members: