Commit graph

253 commits

Author SHA1 Message Date
Simon Kuberski
7f6ea85b32 First implementation of dobs and pobs 2022-02-02 08:54:32 +01:00
Fabian Joswig
9b63d8e2bd
Merge pull request #49 from fjosw/feature/improved_derivatives
feat!: Implemented improved first and second derivatives for the corresponding methods of the Corr class.
2022-01-31 17:30:22 +00:00
Fabian Joswig
a729def937 feat: backward derivative implemented, additional tests for deriv 2022-01-31 12:10:38 +00:00
Fabian Joswig
fb1f2074ca tests: Tests for matrix Corr methods added. docstrings updated 2022-01-31 11:21:16 +00:00
Fabian Joswig
8165479846 feat!: Implemented improved first and second derivatives for the
corresponding methods of the Corr class. The parameter which
distinguishes between the variant is now a string instead of a bool
which may break current analyses.
2022-01-31 10:50:00 +00:00
Fabian Joswig
1d41a664ee tests: tests for reconstruction of prange from json format added 2022-01-28 12:41:55 +00:00
Fabian Joswig
8c53d500bf tests: additional tests for correlators with padding added 2022-01-27 17:06:49 +00:00
Fabian Joswig
6c99e05e5b test: test of json output of a correlator with a gap added 2022-01-27 14:12:10 +00:00
Fabian Joswig
01c3d02394 tests: tests of json corr format extended 2022-01-27 14:07:27 +00:00
Fabian Joswig
50d6b0d9f5 tests: Warnings in tests fixed, conftest.py and pytest.ini removed 2022-01-20 13:49:34 +00:00
Fabian Joswig
c3ba07280b feat: When initializing 1d correlators it is now checked whether all obs
are defined on the same ensembles.
2022-01-19 11:03:45 +00:00
Fabian Joswig
c8ec5909f1 fix: io tests for corr now properly clean up 2022-01-19 10:46:33 +00:00
Fabian Joswig
9b52a9a615 feat!: dump methods now export to the json.gz format by default. Pickle
format can be chosen via parameter.
2022-01-19 10:43:18 +00:00
Fabian Joswig
d778a3b238 feat!: merged the parameters padding_front and padding_back of Corr into
one parameter padding
2022-01-18 14:50:18 +00:00
Fabian Joswig
e880a8221d fix: bug in covariance test corrected 2022-01-18 12:13:44 +00:00
Fabian Joswig
f282ecdaf6 feat: json import export for correlator class implemented, tests added 2022-01-18 12:13:20 +00:00
Fabian Joswig
b0bc9c8e47 refactor: input test notebook removed 2022-01-16 16:46:59 +01:00
Fabian Joswig
c76e8b8bad
Merge pull request #32 from jkuhl-uni/feature/input_2.0
Feature/input 2.0
2022-01-16 16:43:55 +01:00
Fabian Joswig
6174343de6 test: test for ks_test added 2022-01-10 15:24:43 +01:00
Fabian Joswig
47d6aa104e test: corr tests extended 2021-12-23 15:10:22 +01:00
Fabian Joswig
6c7f1f06c9 test: mpm and corr dump test extended 2021-12-23 14:56:49 +01:00
Fabian Joswig
b8c26fd41d refactor: unnecessary code in scalar_mat_op removed 2021-12-23 14:26:17 +01:00
Fabian Joswig
b7da7f4b7e refactor: unnecessary overloading of np.sinc removed, tests added 2021-12-23 12:29:42 +01:00
Fabian Joswig
2ccbd97b39 test: tests for reweighting, merging and correlate extended 2021-12-23 12:20:55 +01:00
Fabian Joswig
3a57471ccf test: tests for epsilon tensors extended 2021-12-23 12:06:28 +01:00
Fabian Joswig
c8cb0e4cb8 feat: epsilon tensors moved to dirac submodule, tests added 2021-12-23 12:00:10 +01:00
Fabian Joswig
1cbbc68e8b test criterion for correlated fit relaxed 2021-12-20 11:46:05 +01:00
Fabian Joswig
1c65109227 test: test for padded correlators added 2021-12-20 11:37:02 +01:00
jkuhl-uni
307738c4fd
Merge branch 'fjosw:develop' into feature/input_2.0 2021-12-16 11:11:28 +01:00
Simon Kuberski
a21554841e Added tests for json 2021-12-14 16:31:33 +01:00
Simon Kuberski
5338982060 Allow Obs in json format to be pure Covobs, i.e., to have empty deltas 2021-12-14 16:27:05 +01:00
Simon Kuberski
b7bc508dcf Added covobs to json file format 2021-12-14 15:47:14 +01: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
7c9dc662e6 test: test for empty Obs added 2021-12-10 16:49:30 +00:00
Fabian Joswig
a2a799b591 feat: linalg.det added, test added 2021-12-10 14:39:14 +00:00
Fabian Joswig
525dea0209 refactor: removed code from autograd master, test adjusted 2021-12-10 14:26:05 +00:00
Fabian Joswig
5ebfda5250 test: test for linalg.eig added 2021-12-10 14:20:51 +00:00
Fabian Joswig
f7e64b2d38 test: json io test extended 2021-12-10 10:43:52 +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
ca303c93e9 test: tests for json io extended 2021-12-09 15:59:53 +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
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
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
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
a7363fb88e test: tests for exceptional cases extended 2021-12-07 17:31:40 +00:00