Commit graph

97 commits

Author SHA1 Message Date
Fabian Joswig
9805ee2b4b pyerrors.py renamed to obs.py, h5py added as dependency 2021-11-07 11:24:56 +00:00
Fabian Joswig
68eaaadfc7 Another test for the multi ensemble system added 2021-11-05 15:05:20 +00:00
Fabian Joswig
2cf648a57e output of ensemble content improved 2021-11-05 15:00:35 +00:00
Fabian Joswig
f643503d7c Show ensemble details in Obs.details as standard case 2021-11-05 14:49:43 +00:00
Fabian Joswig
c11b3ee08d correct idl assigned in dummy observables for matrix multiplication with
non Obs content
2021-11-05 14:41:22 +00:00
Fabian Joswig
bd48cb2def idl now properly propagated in correlate 2021-11-05 12:41:13 +00:00
Fabian Joswig
59b916213e sort zips in Obs.__init__ again 2021-11-05 12:30:22 +00:00
Fabian Joswig
aabac9d430 correlate now also tests if idl for ensembles are identical 2021-11-05 12:19:23 +00:00
Fabian Joswig
ac21569620 Corr.correlate implemented 2021-11-03 14:01:52 +00:00
Fabian Joswig
b23fe67994 rtruediv for Corr and Obs implemented 2021-11-03 11:53:26 +00:00
Fabian Joswig
4df367f955 Output of tag added to Obs.details 2021-11-03 10:34:28 +00:00
Fabian Joswig
10518309cf singular in ensemble details adjusted 2021-11-03 10:25:42 +00:00
Fabian Joswig
70b94efd2a Obs.details api changed 2021-11-03 10:23:31 +00:00
Fabian Joswig
a4d29b54d8 Obs.print renamed to Obs.details 2021-11-03 10:20:48 +00:00
Fabian Joswig
b07f16fe1c docstring and test added for Corr.reweight 2021-11-02 14:19:00 +00:00
Fabian Joswig
c7f5612717 Corr objects now support slicing, T_symmetry implemented for Corr
objects
2021-11-02 11:09:43 +00:00
Fabian Joswig
e4d7d56180 first version of new bookeeping system 2021-11-01 17:14:30 +00:00
Fabian Joswig
ebba71075a docstrings extended 2021-11-01 14:41:57 +00:00
Fabian Joswig
a569209d51 reweighting test added, bug in reweighting propagation fixed 2021-10-29 16:42:01 +01:00
Fabian Joswig
eef464ec26 idx stored in list again to pass all tests 2021-10-29 16:15:52 +01:00
Fabian Joswig
c229dde124 linter fixed 2021-10-29 15:54:09 +01:00
Fabian Joswig
e5c0e031db memory saving storage of irregular observables implemented 2021-10-29 15:52:18 +01:00
Fabian Joswig
8ceee688ec reverted idl storage to list, added simple test for irregular error
propagation
2021-10-29 15:12:34 +01:00
Fabian Joswig
6cf478fb57 irregular idl stored as np.array instead of list in order to save memory 2021-10-29 14:20:01 +01:00
Fabian Joswig
9039d1ad6f idx and means are now args instead of kwargs in Obs.__init__ 2021-10-29 12:58:40 +01:00
Fabian Joswig
c028ddf919 Unnecessary sorted calls in Obs.__init__ removed 2021-10-29 12:53:34 +01:00
Fabian Joswig
753ba5f90e order of idx check in Obs.__init__ exchanged to favor the standard case 2021-10-29 12:38:34 +01:00
Fabian Joswig
96721431c3 speed up of merge_idx 2021-10-29 12:13:04 +01:00
Fabian Joswig
100228d373 reweighted is now bool, performance of reweighted check improved 2021-10-29 11:56:58 +01:00
Fabian Joswig
607d77de25 performance improvement for is_merged in derived_observable 2021-10-29 11:51:01 +01:00
Fabian Joswig
5216fd1928 idl and is_merged added to slots 2021-10-29 11:21:14 +01:00
Simon Kuberski
2f9538e884 This seems to be a known bug of flake8. I changed the code to avoid it... 2021-10-28 20:07:14 +02:00
Simon Kuberski
0736a4e9f6 The conventions for the proper placement of binary operators with respect to line breaks seems to have changed from python 3.6.9 to 3.8.12... 2021-10-28 19:59:32 +02:00
Simon Kuberski
e2565def8a Removed linter errors 2021-10-28 19:53:15 +02:00
Simon Kuberski
0a4b5e07ca Added tests for irregular MC 2021-10-28 18:07:09 +02:00
Simon Kuberski
9580a3a080 Merge branch 'develop' into feature/irregularMC 2021-10-28 17:46:38 +02:00
Simon Kuberski
1b2fd1ee34 Implemented handling of irregular MC chains 2021-10-28 17:46:09 +02:00
Fabian Joswig
ed8d9f9c5c __slots__ with __dict__ added to Obs
Memory consumption for an average Obs reduced by another 5%
Consider also dropping __dict__ for another 120 bytes per object
2021-10-28 14:47:13 +01:00
Fabian Joswig
0ad5076b7e docstrings added 2021-10-26 17:12:25 +01:00
Fabian Joswig
caa5fdb348 Most dictionaries removed from Obs.__init__, the dicitonaries are now
only initialized when the gamma_method is executed
2021-10-26 15:43:30 +01:00
Fabian Joswig
8655fe2cd1 Obs.is_zero() now correctly detects when an Obs is zero within machine
precision
2021-10-26 10:00:18 +01:00
Fabian Joswig
f24451090a Bug in gamma_method fixed 2021-10-25 17:34:59 +01:00
Fabian Joswig
f395cb3d88 Complex scalar array operations now correctly overloaded 2021-10-25 15:10:18 +01:00
Fabian Joswig
325293f2b4 rtruediv implemented for CObs, tests extended 2021-10-25 10:44:51 +01:00
Fabian Joswig
c634d183a1 Another bug in complex mutliplication fixed 2021-10-25 09:51:30 +01:00
Fabian Joswig
9b023e339f Bug in complex mutliplication fixed 2021-10-25 09:41:34 +01:00
Fabian Joswig
60d2e25ed7 Obs value and dvalue are now properties 2021-10-21 16:15:02 +01:00
Fabian Joswig
a3ddf51965 Further optimiuations in Obs.__init__ 2021-10-21 16:06:29 +01:00
Fabian Joswig
0cea84a9c1 formatting fixed 2021-10-21 15:52:57 +01:00
Fabian Joswig
369ee0a324 Alternative way to initialize Obs to speed up error propagation 2021-10-21 15:51:17 +01:00