Commit graph

740 commits

Author SHA1 Message Date
Simon Kuberski
588d0045f2 Removed unnecessary entries for idl and shape in case of covobs. Changed Obs.covobs to Obs._covobs 2021-12-14 13:07:20 +01:00
Fabian Joswig
68a9a962d7 docs: docstring of covariance adjusted. 2021-12-13 17:11:26 +00:00
Fabian Joswig
ec20ee38a6 feat!: covariance replaced by covariance2, window altered to minimum of
the window of the two observables. Tests adjusted.
2021-12-13 17:06:03 +00:00
Fabian Joswig
3fd63f8b67 refactor: bare excepts removed. 2021-12-13 14:47:57 +00:00
Fabian Joswig
7e0308b155 docs: doc extended, typos corrected. 2021-12-11 23:06:07 +00:00
Fabian Joswig
20edefad43 docs: Introduction restructured 2021-12-11 22:59:01 +00:00
Fabian Joswig
5f2e33ccda feat: repetative len(sample) calles reintroduced 2021-12-10 16:31:42 +00:00
Fabian Joswig
1ab16612d9 feat: changed the way empty obs are initialized 2021-12-10 16:24:40 +00:00
Fabian Joswig
7b433c8df7 refactor: unneeded parameter empty removed 2021-12-10 16:12:38 +00:00
Fabian Joswig
fe03bf9844 feat: linalg.einsum optimized 2021-12-10 15:39:57 +00:00
Fabian Joswig
207a60c085 refactor: linalg.slogdet removed 2021-12-10 14:41:56 +00:00
Fabian Joswig
a2a799b591 feat: linalg.det added, test added 2021-12-10 14:39:14 +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
525dea0209 refactor: removed code from autograd master, test adjusted 2021-12-10 14:26:05 +00:00
Fabian Joswig
f6dc78f587 feat!: json format timezone is now outputted in +0000 format. 2021-12-10 10:40:49 +00:00
Fabian Joswig
2ce73fb3f2 fix: import_json_string now correctly reconstructs obs from string, test
added
2021-12-10 10:37:50 +00:00
Fabian Joswig
b49c707127 refactor: created function import_json_string 2021-12-09 15:49:01 +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
e213b37413 fix: prior fit routine adjusted to work with iminuit version >= 2 2021-12-09 12:50:52 +00:00
Fabian Joswig
071d550d1d feat: priors in fits replaced by covobs, random hash added to avoid
prior collisions.
2021-12-09 12:36:28 +00:00
Fabian Joswig
c2ff8c715a refactor!: ks_test removed from develop for now. 2021-12-09 10:20:13 +00:00
Fabian Joswig
87c50f54c0 refactor!: fit_general deprecated and moved to tests 2021-12-09 10:11:31 +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
083247389b fix: bug occurring when Corr.fit is called without fit range fixed 2021-12-08 22:33:08 +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
Fabian Joswig
ea237ed849
Merge pull request #24 from s-kuberski/feature/covobs
Feature/covobs
2021-12-08 09:42:38 +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
Fabian Joswig
9ddadaf6b3 fix: fits and root now work when the value of the zeroth input is
exactly zero. Tests extended.
2021-12-07 18:40:36 +00:00
Fabian Joswig
968cdf3181 fix: deprecated get_fmin call removed in fits 2021-12-07 17:34:02 +00:00
Simon Kuberski
7c5465d828 Added tests when changing cov and grad in covobs 2021-12-07 17:33: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
f223b12cc2 fix: instances of plot.show changed to plot.draw in fit module 2021-12-07 08:27: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
Fabian Joswig
28f1372cfd fix: r_value propagation also adjusted in root module 2021-12-04 13:02:45 +00:00