triqs::gfs::is_gf_real_in_tau

#include <triqs/gfs.hpp>

Synopsis

template<typename G>
bool is_gf_real_in_tau (G const & g, double tolerance = 1.e-12)

Test if a Matsubara Green function object has an associated imaginary-time Green function with an imaginary part below a fixed tolerance \(\epsilon\) The following property is checked \(G[i\omega](...) == conj(G[-i\omega](...))\)

Template parameters

  • The Green function type

Parameters

  • g The Green function object to check the property for

  • tolerance The tolerance \(\epsilon\) for the check [default=1e-12]

Returns

true iif the property holds for all points of the mesh