3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 14:23:38 +01:00
dft_tools/doc/reference/python/green/block/green_retime.py
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

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')