3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 19:53:45 +01:00
dft_tools/doc/reference/python/lattice/hilbert.rst
Olivier Parcollet f2c7d449cc First commit : triqs libs version 1.0 alpha1
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00

30 lines
681 B
ReStructuredText

.. _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: