From f3b1a2bf3459abb1be8b56d600b56e920051b49e Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 18 Oct 2021 13:28:47 +0100 Subject: [PATCH] tag attribute added to Obs --- pyerrors/pyerrors.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyerrors/pyerrors.py b/pyerrors/pyerrors.py index 2da2ae28..a1f18491 100644 --- a/pyerrors/pyerrors.py +++ b/pyerrors/pyerrors.py @@ -37,7 +37,8 @@ class Obs: __slots__ = ['names', 'shape', 'r_values', 'deltas', 'N', 'value', 'dvalue', 'ddvalue', 'reweighted', 'S', 'tau_exp', 'N_sigma', 'e_names', 'e_content', 'e_dvalue', 'e_ddvalue', 'e_tauint', 'e_dtauint', - 'e_windowsize', 'e_rho', 'e_drho', 'e_n_tauint', 'e_n_dtauint'] + 'e_windowsize', 'e_rho', 'e_drho', 'e_n_tauint', 'e_n_dtauint', + 'tag'] e_tag_global = 0 S_global = 2.0 @@ -94,6 +95,8 @@ class Obs: self.e_n_tauint = {} self.e_n_dtauint = {} + self.tag = None + def gamma_method(self, **kwargs): """Calculate the error and related properties of the Obs.