Commit graph

362 commits

Author SHA1 Message Date
Fabian Joswig
a6ebcb59bb feat: default value for if_exist in to_sql changed to fail, test for
this behavior added.
2022-07-04 17:22:35 +01:00
Fabian Joswig
03d70d3757 tests: missing assert added to pandas test. 2022-07-04 17:11:11 +01:00
Fabian Joswig
845b4e60ac fix: pandas.to_sql does not write an index to the db anymore, docs
extended, test added.
2022-07-04 17:08:20 +01:00
Fabian Joswig
504a8f3486 tests: test_import_non_json_string added. 2022-07-04 16:59:24 +01:00
Fabian Joswig
f58ef11845 refactor: pandas serialize and deserialize removed from global
namespace.
2022-07-04 14:59:17 +01:00
Fabian Joswig
cc9f47c686 feat: pandas DataFrame serialization and deserialization can now also
deal with gzipped json columns. Tests added.
2022-07-04 14:19:30 +01:00
Fabian Joswig
a133030114 tests: additional tests for pandas csv import and export added. 2022-07-04 13:17:57 +01:00
Fabian Joswig
b2d5263ea3 feat: hash method for Obs objects added. 2022-07-01 16:53:08 +01:00
Fabian Joswig
153cc795b8 feat: pandas DataFrames with Corr columns can now also be imported and
exported.
2022-06-30 15:26:31 +01:00
Fabian Joswig
c7c1725667 tests: pandas io tests extended. 2022-06-30 14:38:20 +01:00
Fabian Joswig
feab699162 tests: basic test for pandas DataFrame export and re-import added. 2022-06-30 14:27:10 +01:00
Fabian Joswig
fff74ed69e ci: tolerance on total least squares tolerance test relaxed. 2022-06-28 14:51:12 +01:00
Fabian Joswig
763c759ae0 fix: Corr.m_eff can now returns None entries if the correlator has a
sign flip. Before that the logarithm of a negative number was computed
and a warning was thrown.
2022-06-28 14:40:49 +01:00
Fabian Joswig
3e29cf9ca8 fix: detection of invalid fit functions extended. 2022-06-24 12:50:26 +01:00
Fabian Joswig
338bf8906a refactor: maintainability issues in tests fixed. 2022-06-24 12:28:49 +01:00
Fabian Joswig
d922b72f3b feat: Obs.reweight method added. 2022-06-23 13:50:24 +01:00
Simon Kuberski
c9789a34e6 Resolved merge conflict in tests 2022-06-19 01:46:31 +02:00
Fabian Joswig
612e6c742b tests: matplotlib figures explicitly closed in tests 2022-06-14 14:46:45 +01:00
Fabian Joswig
ed50240d29 fix: check for correlator None entries refactored and added to all
elementary operations. Tests added.
2022-06-13 12:59:54 +01:00
Fabian Joswig
5359a30b97 fix: Bug in Corr.projected fixed which appears in connection with arrays
of None as Corr entry.
2022-06-13 11:59:05 +01:00
Fabian Joswig
f49562b895 tests: additional test for least square fits added which probes
different initial guess and exceptions.

Tolerance in total least square tests relaxed.
2022-06-10 10:13:49 +01:00
Fabian Joswig
5e550f4321 tests: test for smooth_eigenvalues functionality added. 2022-06-10 09:29:04 +01:00
Fabian Joswig
78f576a35e fix: Corr.matrix_symmetric now also works if entries of the correlators
are arrays with at least one None entry.
2022-06-09 16:47:13 +01:00
Fabian Joswig
8a911cac61 tests: Correlated least square fit tested against jackknife resampling 2022-06-07 10:59:26 +01:00
Fabian Joswig
c9e0c6e208 tests: linear least_squares fit error estimation tested against jackknife resampling. 2022-06-06 15:11:03 +01:00
Fabian Joswig
f02488208a
Merge pull request #102 from fjosw/feature/covariance_idl2
Feature/covariance idl2
2022-05-26 15:01:35 +01:00
Fabian Joswig
e7f5961cd6 fix: bug in estimation of chisquare for correlated fit fixed, tests
added.
2022-05-26 13:52:05 +01:00
Fabian Joswig
6bbd88a8c1 tests: fit_corr_independent now runs for various methods. 2022-05-25 18:03:46 +01:00
Simon Kuberski
d7a8721ef6 bug: Fixed dobs I/O, similarly to JSON I/O 2022-05-19 19:18:53 +02:00
Fabian Joswig
e9184d8368 tests: additional tests for json format added. 2022-05-19 15:51:17 +01:00
Fabian Joswig
bb0236a556 tests: test covariance vs numpy added. 2022-05-19 14:09:05 +01:00
Fabian Joswig
9011adb0de tests: additional test addedwhich checks that merge and intersction of
idls agree for identical idls.
2022-05-19 13:53:33 +01:00
Fabian Joswig
60f9bb6a89 tests: Additional tests for covariance with different idls added. 2022-05-19 13:46:04 +01:00
Simon Kuberski
9239905ee8 bugfix: Deltas in JSON file are now relative to o.value and not o.r_values[r_name] 2022-05-19 10:14:55 +02:00
Fabian Joswig
f45b0aa6ec tests: coverage of Corr class improved. 2022-05-18 10:54:09 +01:00
Fabian Joswig
088a7da7e6 feat: Deprecation warning for Corr.GEVP kwarg state removed,
documentation extended.
2022-05-18 10:09:23 +01:00
Fabian Joswig
98ce553521 fix: exception for ts<=t0 generalized, tests added. 2022-05-18 10:02:56 +01:00
Fabian Joswig
2136958fbc feat: sorted_list argument readded to Corr.GEVP with a deprecation
warning.
2022-05-16 13:42:12 +01:00
Fabian Joswig
eb8090a90c tests: GEVP tests extended to all three sorting variants. 2022-05-16 13:28:10 +01:00
Fabian Joswig
410d7618a0 tests: GEVP tests updated to new syntax. 2022-05-16 12:07:36 +01:00
Fabian Joswig
92b19cba9f !feat: GEVP now returns all eigenvectors instead of just the ones for
the specified state.
2022-05-16 11:44:02 +01:00
Fabian Joswig
ba054fa11c refactor: correlators._solve_GEVP simplified and optimized, test added. 2022-05-16 11:35:23 +01:00
Fabian Joswig
10fc8b1f6e feat: GEVP not evaluated for t <= t0, additional checks added,
Eigenvector sort method can now cope with None entries.
2022-05-12 16:40:32 +01:00
Fabian Joswig
165e294b90 tests: test for Corr.matrix_symmetric added. 2022-05-12 16:08:42 +01:00
Fabian Joswig
c852de0688 tests: GEVP test extendd, test case for warning when ts and Eigenvalue
sorting are used at the same time.
2022-05-09 14:16:46 +01:00
Fabian Joswig
d4c913ab88
Merge pull request #97 from s-kuberski/feature/dobs
Feature/dobs
2022-05-03 09:26:27 +01:00
Simon Kuberski
729a61db61 Changed some details regarding dobs implementation 2022-05-02 15:12:07 +02:00
Simon Kuberski
44b268fcf9 Merge branch 'develop' into feature/dobs 2022-05-02 14:21:25 +02:00
Simon Kuberski
b8e5f9dfd4 Implemented the pruning of large correlation matrices by the solution of a GEVP at early times 2022-04-28 17:33:38 +02:00
Fabian Joswig
217d310ca4 tests: test for _intersection_idx extended. 2022-04-28 14:13:29 +01:00