mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 03:33:50 +01:00
30 lines
681 B
ReStructuredText
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:
|
||
|
|
||
|
|