triqs.gf.tools.write_gf_to_txt

triqs.gf.tools.write_gf_to_txt(g)[source]

Write a GfReFreq or GfImFreq to in the format (w/iw, Re(G), Im(G)) for a single block.

Parameters:

g (GfReFreq or GfImFreq) – The real/imaginary frequency Green’s function to be written out.