Commit graph

168 commits

Author SHA1 Message Date
Fabian Joswig
f51503555b fix: CObs can now be added and multiplied to as well as subtracted from
Obs in all combinations
2022-02-08 17:07:40 +00:00
Fabian Joswig
60ad91ead6 tests: coverage in correlator increased 2022-02-08 14:43:23 +00:00
Fabian Joswig
6ae53cb575 tests: tests for correlator module corrected and extended 2022-02-08 14:31:49 +00:00
jkuhl-uni
10e7171d5b changed parameters for input tests 2022-02-08 11:51:51 +01:00
jkuhl-uni
71fe86b8ba merge with develop 2022-02-08 11:16:20 +01:00
jkuhl-uni
a33d6897f0 small change in read parameters, made tests available for auto-testing 2022-02-07 18:29:49 +01:00
Fabian Joswig
a6126c84a8 tests: test on iamone made more strict 2022-02-07 14:56:15 +00:00
jkuhl-uni
5062f030c4 made read in tests functioning 2022-02-07 15:54:57 +01:00
Fabian Joswig
6971e8cd9b refactor: unnecessary keywords for call to numdifftools removed, test
against numerical differentiation made stricter.
2022-02-07 14:51:25 +00:00
jkuhl-uni
b36d559ac3 input append mode tests done 2022-02-07 15:10:19 +01:00
jkuhl-uni
0d1921c16b positive tests for o and c finished 2022-02-07 12:28:14 +01:00
jkuhl-uni
a839592ea8 first steps to testing input methods 2022-02-06 18:05:37 +01:00
Fabian Joswig
eab2ba45ff
Merge pull request #53 from s-kuberski/feature/json_io
Introduced JSON I/O for dictionaries
2022-02-03 10:31:43 +00:00
Simon Kuberski
0dc4d4008a Introduced JSON I/O for dictionaries 2022-02-03 10:33:24 +01:00
Fabian Joswig
952c7acef5 tests: additional tests for alternative fit methods in
fits.least_squares added
2022-02-02 10:10:20 +00:00
Simon Kuberski
d1e18b6673 Fixes least_squares with migrad, tests extended 2022-02-02 09:05:13 +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