Commit graph

540 commits

Author SHA1 Message Date
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
s-kuberski
ca4548b105
Merge pull request #26 from fjosw/feature/import_json_string
Feature/import json string
2021-12-10 09:59:31 +01:00
Fabian Joswig
ca303c93e9 test: tests for json io extended 2021-12-09 15:59:53 +00:00
Fabian Joswig
b49c707127 refactor: created function import_json_string 2021-12-09 15:49:01 +00:00
Fabian Joswig
860852b4d8 test: tests slightly extended to improve coverage. 2021-12-09 13:25:06 +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
5a8b6483c8 test: tests for covobs initialization added 2021-12-09 10:05:20 +00:00
Fabian Joswig
b3a021985b test: test for exceptions in Obs.__init__ extended 2021-12-09 09:45:29 +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
f30fcbd4d9 ci: pytest workflow scheduled to run once a month. 2021-12-09 07:37:42 +00:00
Fabian Joswig
53cea6267d test: additional test cases for reweighting and pseudo_Obs added 2021-12-09 07:36:34 +00:00
Fabian Joswig
fc25ec6929 test: test for Corr.plateau added 2021-12-08 22:42:13 +00:00
Fabian Joswig
a9e80989fe test: test for Corr.fit added 2021-12-08 22:37:38 +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
5c9a521c29 ci: scheduled pytest workflow once a day. 2021-12-08 19:54:03 +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
Fabian Joswig
a7363fb88e test: tests for exceptional cases extended 2021-12-07 17:31:40 +00:00
Fabian Joswig
fa7702a4ad test: dirac test extended to last missing line 2021-12-07 17:14:21 +00:00
Fabian Joswig
ec4bb39399 test: test for dirac gamma added 2021-12-07 17:11:50 +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
3324b0aa07 docs: CONTRIBUTING extended 2021-12-07 08:37:33 +00: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
757d8ade06 test: test for multidimensional covobs multiplication extended 2021-12-07 08:11:38 +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
674a1ea6f6 test: test for array mode with different contents commented out until
fix
2021-12-06 22:18:28 +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