mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 22:03:43 +01:00
13 lines
255 B
Python
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')
|
||
|
|
||
|
|