Analytic continuation and Green function calculations