3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 23:03:51 +01:00
dft_tools/doc/reference/gfs/py/block/green_retime.py
tayral edd1ff4529 Restructuring documentation.
A first general restructuration of the doc according to the pattern [tour|tutorial|reference].
In the reference part, objects are documented per topic.
In each topic, [definition|c++|python|hdf5] (not yet implemented)
2014-10-18 12:21:08 +01:00

13 lines
255 B
Python

from pytriqs.gf.local import *
gw = GfReFreq(indices = [1], window = (-5, 5), n_points = 300, name = "egBlock")
gw <<= SemiCircular(2.0)
# This is a GfReTime
gt = gw.inverse_fourier()
from pytriqs.plot.mpl_interface import oplot
oplot(gt.imag, '-o')