tag attribute added to Obs

This commit is contained in:
Fabian Joswig 2021-10-18 13:28:47 +01:00
parent 9917778093
commit f3b1a2bf34

View file

@ -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.