From fff9e36354e57c73bac5e27b713227664499a399 Mon Sep 17 00:00:00 2001 From: Manuel Zingl Date: Fri, 13 Oct 2017 13:28:01 +0200 Subject: [PATCH] Correct Tailfit SrVO3 doc (issue #78) --- doc/guide/SrVO3.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guide/SrVO3.rst b/doc/guide/SrVO3.rst index f9770b32..4b8826b4 100644 --- a/doc/guide/SrVO3.rst +++ b/doc/guide/SrVO3.rst @@ -208,12 +208,12 @@ Therefore disabled the tail fitting first:: p["perform_tail_fit"] = False and perform only one DMFT iteration. The resulting self energy can be tail fitted by hand:: - - for name, sig in S.Sigma_iw: - S.Sigma_iw[name].fit_tail(fit_n_moments = 4, fit_min_n = 60, fit_max_n = 140) + + Sigma_iw_fit = S.Sigma_iw.copy() + Sigma_iw_fit << tail_fit(S.Sigma_iw, fit_max_moment = 4, fit_min_n = 40, fit_max_n = 160)[0] Plot the self energy and adjust the tail fit parameters such that you obtain a -proper fit. The :meth:`fit_tail function ` is part +proper fit. The :meth:`tail_fit function ` is part of the :ref:`TRIQS ` library. For a self energy which is going to zero for :math:`i\omega \rightarrow 0` our suggestion is