mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 23:03:51 +01:00
edd1ff4529
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)
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')
|
|
|
|
|