Commit graph

236 commits

Author SHA1 Message Date
Simon Kuberski
86b1371363 Adjusted function definitions, added test for _merge_idx 2022-02-23 17:51:12 +01:00
Fabian Joswig
6bfeff4f27 fix: Corr.fit now explicitly checks that the provided fit range is a two
element list.
2022-02-23 16:23:42 +00:00
Fabian Joswig
39dff5a830 tests: tests for GEVP fixed, docstring for Corr.Eigenvalue added, typos
fixed
2022-02-22 21:33:04 +00:00
Fabian Joswig
dd3bee5635 feat: basic arithmetic operations for correlators and np.ndarrays of the
same length work now.
2022-02-22 15:09:06 +00:00
Fabian Joswig
dce7d4bec8 tests: test for corr matrix initialization with none entries added. 2022-02-18 09:16:29 +00:00
Fabian Joswig
5f86aaba4b feat: calls to the gamma_method removed in Corr.__init__ and other
method of the Corr class. Test adjusted by adding additional calls to
the gamma_method
2022-02-15 13:25:01 +00:00
Fabian Joswig
dbcceeea3a
Merge pull request #63 from s-kuberski/feature/irregularMC
Bugfix in _reduce_deltas. Results were correct, but performance was bad
2022-02-10 13:55:51 +00:00
Simon Kuberski
5818dbe883 Bugfix in _reduce_deltas. Results were correct, but performance was bad 2022-02-10 14:49:12 +01:00
Fabian Joswig
31a98f81c4 tests: openQCD tests split up in two functions, coverage improved 2022-02-10 11:03:59 +00:00
Simon Kuberski
cf137e2843 Added tests for t0 and qtop 2022-02-09 18:41:54 +01:00
Fabian Joswig
ca04097272 feat: thin method added to Corr class which allows to thin out a
correlator in order suppress correlations between neighbouring entries
2022-02-09 15:32:18 +00:00
Fabian Joswig
471eabeb8c fix: Bug in export of derivative of correlator containing covobs fixed,
test added.
2022-02-09 14:18:36 +00:00
Fabian Joswig
7568275d5d refactor: io tests split up in several files 2022-02-09 14:05:44 +00:00
Fabian Joswig
f16ba109fc
Merge pull request #60 from s-kuberski/feature/rwf
Yet another small change to openQCD. Added explicit tests for reweighting
2022-02-09 14:00:59 +00:00
Simon Kuberski
25d00de5ce More tests for openQCD-2.0 2022-02-09 14:13:04 +01:00
Simon Kuberski
570c6abf2a Yet another small change to openQCD. Added explicit tests for reweighting. 2022-02-09 14:08:05 +01:00
Fabian Joswig
080e09a07f tests: tests cleaned up, name duplicate in obs_test corrected 2022-02-09 11:23:58 +00:00
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
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