From 1326e9c8633cea202cf0f1fd96133a73cba18b11 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 18 Nov 2021 15:39:10 +0000 Subject: [PATCH] feat: tag added to Zq in npr module --- pyerrors/npr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyerrors/npr.py b/pyerrors/npr.py index 5075cd3b..5e67ce9e 100644 --- a/pyerrors/npr.py +++ b/pyerrors/npr.py @@ -102,4 +102,7 @@ def Zq(inv_prop, fermion='Wilson'): if not res.imag.is_zero_within_error(5): warnings.warn("Imaginary part of Zq is not zero within 5 sigma") return res + + res.real.tag = "Zq '" + fermion + "', p=" + str(inv_prop.mom_in) + return res.real