* fix: corrected bug that prevented combined fits with multiple x-obs in some cases
* made test more complex
* [Fix] Slightly increase tolerance for matrix function test.
* Adapt test_merge_idx to compare lists
---------
Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
Co-authored-by: Fabian Joswig <fjosw@users.noreply.github.com>
* feat: corr_matrix kwargs as input for least squares fit
* feat/tests: inverse covariance matrix and correlation matrix kwargs as input for least squares function
* feat/tests/example: reduced new kwargs to 'inv_chol_cov_matrix' and outsourced the inversion & cholesky decomposition of the covariance matrix (function 'invert_corr_cov_cholesky(corr, covdiag)')
* tests: added tests for inv_chol_cov_matrix kwarg for the case of combined fits
* fix: renamed covdiag to inverrdiag needed for the cholesky decomposition and corrected its documentation
* examples: added an example of a correlated combined fit to the least_squares documentation
* feat/tests/fix(of typos): added function 'sort_corr()' (and a test of it) to sort correlation matrix according to a list of alphabetically sorted keys
* docs: added more elaborate documentation/example of sort_corr(), fixed typos in documentation of invert_corr_cov_cholesky()
* [fix] First version of a fix to cope with missing replica.
* [fix] added test for missing replica
* [fix] refactored fix for missing replica, modified tests
* [fix] refinement of tests
* [fix] Fixed intendation for flake8
* [feat] special module with Bessel functions added.
* [feat] init adapted.
* [tests] First test for special module added.
* [tests] Check kn special function derivative explicitly vs numerical
derivative of scipy function.
* [feat] Added remaining autograd scipy special functions to the special
module.
* [feat] Imports corrected, docstring added.
* Added the function error_gevp() to compute the gevp with statistical errors.
* Changed method name from error_gevp to error_GEVP and removed automatic gamma method
* added auto_gamma to error_GEVP
* Specified exceptions in Corr.error_GEVP
* Fixed a wrong path. It should be np.linalg.LinAlgError
* Added a test for error_GEVP
* The tests of error_gevp loads a test matrix
* Incorporated eigenvectors with uncertainties in GEVP routine
* Cleaned up GEVP routines
* Cleaned up breaking change from merge
* Released tolerance in test of GEVP
* Repaired broken GEVP test
---------
Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
* make template
* read_sfcf_multi running with compact format
* fix append mode, norrmal tests work
* improve readability
* add simple test for multi_read
* simple multi_test works
* add first method to check sfcf param hashes
* add docstring
* simple test for o format working
* use benedict to make loops easier
* introduce python-benedict as dep
* no nice_out, less error prone, found bug in tests
* Revert "introduce python-benedict as dep"
This reverts commit 9696d68b7a.
* Revert "use benedict to make loops easier"
This reverts commit fa3987479b.
* no nice output after reverts
* [build] Added jkuhl-uni as CODEOWNER for sfcf.
* refactor: flatten internal dicts
* very small test extension
* ...flake8
* docu
* Delete second sep init
---------
Co-authored-by: Fabian Joswig <fabian.joswig@uni-muenster.de>
* feat: implemented __eq__ method for Corr class.
* feat: __eq__ method now respects None entries in correlators.
* feat: Obs can now be compared to None, __ne__ method removed as it is
not required.
* feat: Corr.__eq__ rewritten to give a per element comparison.
* tests: additional test case for correlator comparison added.
* feat: comparison now also works for padding.
* feat: vectorized gamma_method function added.
* feat: vectorized gamma method generalized to also work on other objects
like Corr or Fit_result.
* feat: alias gamma_method for vectorized gamma_method added.
* docs: example 5 updated to include vectorized gamma_method.
* docs: output of example 5 updated.
* feat: matmul method added to correlator class.
* feat: corr, corr matmul and correlator matrix trace added.
* tests: tests for matmul and trace added.
* tests: slightly reduced tolerance and good guess bad guess test.
* feat: rmatmul added and __array_priority__ set.
* tests: additional tests for rmatmul added.
* tests: one more tests for rmatmul added.
* docs: docstring added to Corr.trace.
* tests: associative property test added for complex Corr matmul.
* fix: Corr.roll method now also works for correlator matrices by
explicitly specifying the axis.
Co-authored-by: Matteo Di Carlo <matteo.dicarlo93@gmail.com>
* feat: exception type for correlator trace of 1dim correlator changed.
* tests: trace N=1 exception tested.
---------
Co-authored-by: Matteo Di Carlo <matteo.dicarlo93@gmail.com>
* tests: failing test for compute_drho edge case added.
* tests: example file for failing compute_drho added.
* tests: assertion that dvalue stays the same added to compute drho test.
* fix: another edge case in computation of drho fixed.
* fix: Conversion of an array with ndim > 0 to a scalar deprecation fixed.
* fix: adjusted maximal value for rho in test_gamma_method_irregular.
* fix: obs in f-strings now work again when no specifier is provided.