mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
__slots__ added to Obs to reduce the memory footprint of individual
objects and slightly speed up the initialisation of an object
This commit is contained in:
parent
4edea2c3a8
commit
4f7b5d23ae
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ class Obs:
|
|||
ensemble.
|
||||
N_sigma_global -- Standard value for N_sigma (default 1.0)
|
||||
"""
|
||||
__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_tag_global = 0
|
||||
S_global = 2.0
|
||||
|
|
Loading…
Add table
Reference in a new issue