mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
tag attribute added to Obs
This commit is contained in:
parent
9917778093
commit
f3b1a2bf34
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,8 @@ class Obs:
|
||||||
__slots__ = ['names', 'shape', 'r_values', 'deltas', 'N', 'value', 'dvalue',
|
__slots__ = ['names', 'shape', 'r_values', 'deltas', 'N', 'value', 'dvalue',
|
||||||
'ddvalue', 'reweighted', 'S', 'tau_exp', 'N_sigma', 'e_names',
|
'ddvalue', 'reweighted', 'S', 'tau_exp', 'N_sigma', 'e_names',
|
||||||
'e_content', 'e_dvalue', 'e_ddvalue', 'e_tauint', 'e_dtauint',
|
'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
|
e_tag_global = 0
|
||||||
S_global = 2.0
|
S_global = 2.0
|
||||||
|
@ -94,6 +95,8 @@ class Obs:
|
||||||
self.e_n_tauint = {}
|
self.e_n_tauint = {}
|
||||||
self.e_n_dtauint = {}
|
self.e_n_dtauint = {}
|
||||||
|
|
||||||
|
self.tag = None
|
||||||
|
|
||||||
def gamma_method(self, **kwargs):
|
def gamma_method(self, **kwargs):
|
||||||
"""Calculate the error and related properties of the Obs.
|
"""Calculate the error and related properties of the Obs.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue