Commit graph

76 commits

Author SHA1 Message Date
Fabian Joswig
7b433c8df7 refactor: unneeded parameter empty removed 2021-12-10 16:12:38 +00:00
Fabian Joswig
67ca53681a fix: workaround for non Obs valued objects in derived_observable now
also works outside of array mode.
2021-12-10 14:37:58 +00:00
Fabian Joswig
352b93ee2c fix: the covariance functions now correctly check whether the
gamma_method was run. Tests added.
2021-12-09 13:06:49 +00:00
Fabian Joswig
8879e6b382 refactor: check in Obs.__init__ withe means!=None removed which could
never be reached.
2021-12-09 09:44:50 +00:00
Fabian Joswig
ae53daa915 refactor: calculation of N in Obs.__init__ optimized 2021-12-08 16:14:48 +00:00
Fabian Joswig
2702b5519d refactor: loop and if clause eliminated in Obs.__init__ 2021-12-08 16:11:44 +00:00
Fabian Joswig
52705d8fcd refactor: minor simplifications in derived_observable 2021-12-08 15:26:27 +00:00
Fabian Joswig
140268c1c9 refactor: two loops over new_sample_names merged. 2021-12-08 15:17:32 +00:00
Fabian Joswig
3f0040a815 refactor: generation of new r_values in derived_observable simplified. 2021-12-08 15:09:40 +00:00
Fabian Joswig
5ced94e086 feat: check for non Obs objects in derived observable optimized and only performed in array mode 2021-12-08 15:00:44 +00:00
Fabian Joswig
1db59a9fdc feat: derived_observable now uses covobs when an input is not an Obs.
This should result in a small speedup for all operations as one iteration over all data can
be dropped.
2021-12-08 14:34:48 +00:00
Simon Kuberski
a5cf0270d3 Hidden _set_cov and _set_grad, modified test for equality of covs 2021-12-08 08:55:40 +01:00
Simon Kuberski
3190140023 Ensure fixed dimensions of cov and grad in covobs. Allow for differences of O(1e-14) in two cov matrices, when combining observables 2021-12-07 17:15:46 +01:00
Fabian Joswig
370cd34e0f refactor!: covariance3 removed 2021-12-07 08:31:24 +00:00
Fabian Joswig
e8bcf8de6f fix: array mode now also works with covobs with N>1 2021-12-07 08:09:38 +00:00
Fabian Joswig
df6b151c13 fix: array mode now works with elements defined on different ensembles 2021-12-07 07:36:24 +00:00
Fabian Joswig
b0610544a8 fix: array mode now works for elements with different covobs 2021-12-07 07:29:05 +00:00
Fabian Joswig
93d87f8f8c test: test for array mode extended 2021-12-06 22:14:24 +00:00
Fabian Joswig
02d8f469eb feat: derived observable array mode works now, test added 2021-12-06 21:59:41 +00:00
Fabian Joswig
52867fb033 feat: tensordot array mode for covobs implemented 2021-12-06 15:44:30 +00:00
Fabian Joswig
3ae6959bac Merge branch 'develop' into feature/eliminate_derived_array 2021-12-06 15:30:14 +00:00
Fabian Joswig
1f91175e50 feat: check for non string names in Obs.__init__ optimized 2021-12-06 15:20:36 +00:00
Fabian Joswig
7937635ca2 feat: check for name doublers in Obs.__init__ optimized 2021-12-06 15:02:15 +00:00
Fabian Joswig
12a93eafb0 feat: performance of export to jackknife improved 2021-12-06 10:54:06 +00:00
Simon Kuberski
ce4e73ec1a Reweighting is now possible if the observable is defined only on a subset of replica of those of the RWF 2021-12-03 14:04:27 +01:00
Fabian Joswig
5789c0cef6 feat: new_cov_names and new_sample_names added to derived_array 2021-12-02 16:54:51 +00:00
Fabian Joswig
28a7197f74 feat: derived_observable array_mode working but slow 2021-12-02 16:38:10 +00:00
Fabian Joswig
147bc6b24b feat: first working version of array_mode in dervived_observable 2021-12-02 12:50:08 +00:00
Fabian Joswig
ed47d50286 refactor: readability of error propagation for covobs improved 2021-12-02 12:22:07 +00:00
Fabian Joswig
edf160ade2
Merge pull request #16 from s-kuberski/feature/covobs
derived_observable now raises an error, if the same ensemble name has…
2021-12-01 15:52:39 +00:00
Simon Kuberski
70d941092c derived_observable now raises an error, if the same ensemble name has been used for deltas and covobs 2021-12-01 16:40:37 +01:00
Fabian Joswig
33b5d70114 fix: bug in Obs.is_zero in connection with covobs fixed 2021-12-01 14:58:00 +00:00
Simon Kuberski
a3310876bf Fixed plot_history and is_zero for covobs 2021-12-01 15:14:56 +01:00
Simon Kuberski
359c9c06da Bugfix for covobs, fit tests for covobs added 2021-11-30 13:32:50 +01:00
Simon Kuberski
950fb17c84 Refined covobs implementation 2021-11-30 11:08:30 +01:00
Simon Kuberski
9db709a171 Merge branch 'develop' into feature/covobs 2021-11-29 15:45:25 +01:00
Simon Kuberski
30ba138558 added basic functionality for covobs 2021-11-29 12:15:27 +01:00
Fabian Joswig
bb6d380f9f refactor: load and dump object moved to misc 2021-11-24 17:26:02 +00:00
Fabian Joswig
28bf0f1701 feat: linalg.jack_matmul now also works with irregular monte carlo
chains
2021-11-18 11:17:20 +00:00
Fabian Joswig
ebbfaf8e80 feat: tolerance of Obs.is_zero can now be specified 2021-11-18 10:51:46 +00:00
Fabian Joswig
24b8647286
Merge pull request #10 from s-kuberski/feature/irregularMC
Feature/irregular mc
2021-11-17 17:31:17 +00:00
Simon Kuberski
b3b31b7b05 Simplified loop in derived_observable 2021-11-17 18:28:23 +01:00
Fabian Joswig
972c8bd366 feat: Obs.jackknife optimized 2021-11-17 16:25:50 +00:00
Simon Kuberski
913f682087 Merge branch 'develop' into feature/irregularMC 2021-11-17 17:21:15 +01:00
Simon Kuberski
3d3e52e33d Included change to is_merged in linal module 2021-11-17 17:19:24 +01:00
Fabian Joswig
00d859cf06 feat: import_jackknife implemented 2021-11-17 16:06:26 +00:00
Simon Kuberski
17252c4f0d Huge speedup for derived_observable in the case of irregular MC chains by introducing the dict is_merged and rewriting _filter_zeroes. The cost is still non-negligible. 2021-11-17 16:44:54 +01:00
Fabian Joswig
ccca4eabbf feat: automatic windowing procedure can now be deactivated by choosing
S=0
2021-11-17 13:42:04 +00:00
Simon Kuberski
cca8d6fbfa Fixed bug in bugfix 2021-11-16 14:46:08 +01:00
Simon Kuberski
5477695a66 Bug-Fix: Do not apply filter if all deltas vanish, i.e., if Obs is zero 2021-11-16 14:26:18 +01:00