* 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()
* refactor: merged combined fit and prior fit without breaking the
routine. Fitting with priors does not work yet.
* refactor: correlated fits without priors work now.
* refactor: prior error propagation and dof fixed.
* refactor: old prior fit implementation moved to tests.
* refactor: moved _extract_val_and_dval out of least_squares.
* refactor: comment removed.
* tests: additional tests and exceptions added.
* tests: test for constrained prior fit added.
* docs: least_squares docstring extended.
* fix: linting errors fixed.
* feat: additional if cause for fits without priors added to achieve
original speed.
* tests: test_constrained_and_prior_fit fixed.
* fix: fix array cast of least_squares dict mode.
* tests: test for lists in dict fit added.
* fix: additional asarray added in resplot.
Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
* refactor: _standard_fit method made redundant.
* fix: xs and yz in Corr.fit promoted to arrays.
* fix: x promoted to array in _combined_fit if input is just a list.
* feat: residual_plot and qqplot now work with combined fits with
dictionary inputs.
* tests: test for combined fit resplot and qqplot added.
* docs: docstring of fits.residual_plot extended.
* first example of returns statement in docstring
* added a some return statements for pandas API
* last return statements in pandas input
* added returns to bdio docstrings
* few returns statements added to docstring
* finished docstrings for hadrons submodule
* also finished docstrings for json submodule
* finished misc submodule
* added returns in docstrings in openqQCD
* made some cosmetic chanes to dostrings
* added return nad return statement in docstring
* linting
* Improved docstrings of mpm, fits, roots, misc to have return statements
returns added for misc.py
returns added for mpm.py
reutrns added for fits.py
* linting...
* Some polishing of docstrings