3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-30 16:15:47 +01:00
dft_tools/doc/reference/python/green/block/green_retime.py

13 lines
255 B
Python
Raw Normal View History

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