Commit graph

320 commits

Author SHA1 Message Date
Fabian Joswig
dc7033e51f
refactor: _standard_fit method made redundant. (#154)
* 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.
2023-03-01 10:00:35 +00:00
Fabian Joswig
d81d6ea0b8
fix: loop range in standard windowing procedure adjusted by gapsize
- Test added

Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-02-27 21:43:29 +00:00
Fabian Joswig
8bc204fc31
tests: nan obs test added. 2023-02-26 18:56:46 +00:00
Justus Kuhlmann
0bc08be634
Impr/refactor find files (#153)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable

* added method to sort names of files and replica better
2023-02-17 11:51:00 +00:00
Justus Kuhlmann
cef3c3e793
Impr/refactor find files (#151)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable
2023-02-08 14:52:29 +00:00
Fabian Joswig
3ca79581f3
Merge pull request #148 from PiaLJP/feature/correlated_combined_fit
Feature/correlated combined fit
2023-02-03 17:05:36 +00:00
ppetrak
ba54545b4e feat/tests: Correlated fits now also work for combined fits. 2023-02-03 14:54:54 +01:00
Fabian Joswig
ae68e5baad
test: small bug in non overlapping test fixed. 2023-02-02 16:06:35 +00:00
Fabian Joswig
925f212e61
test: test for non overlapping configs fixed. 2023-02-02 15:22:35 +00:00
Fabian Joswig
2e66f0323a
Merge pull request #147 from fjosw/fix/non_overlapping_cnfgs
Fix non overlapping configurations
2023-02-02 15:15:04 +00:00
Fabian Joswig
3236ba54e7
Merge pull request #134 from PiaLJP/develop
sample implementation of a (uncorrelated) combined fit
2023-02-02 15:09:11 +00:00
Fabian Joswig
37c59a198e
test: test for values added to non overlapping tests. 2023-02-02 15:08:22 +00:00
Simon Kuberski
dc5116aa2f dobs: Zeros are written if config is not part of the Obs, these are ignored on input 2023-02-02 15:31:46 +01:00
Fabian Joswig
e34d49d88d
test: additional test for non overlapping configurations added. 2023-02-02 14:19:16 +00:00
Fabian Joswig
79d185aa7d
test: non_overlapping tests refined. 2023-02-02 13:57:58 +00:00
Fabian Joswig
f6df9d02f5
test: added additional tests for non-overlapping configurations. 2023-02-02 13:49:40 +00:00
Fabian Joswig
b3d030abf3
fix: fixed test_correlation_intersection_of_idls 2023-02-02 13:42:15 +00:00
Fabian Joswig
2e490e56f4
fix: fixed test intersection reduce. 2023-02-02 13:35:08 +00:00
ppetrak
80371a0898 fix/tests: Combined fit now also works when the keys of the x,y & func input dictionaries are not in the same order, build: improvements in performance 2023-01-30 14:26:47 +01:00
Fabian Joswig
5adc3e0c76
test: sin2 cos2 test for error propagation added. 2023-01-24 10:10:52 +00:00
Fabian Joswig
7682e29146
test: tests refactored. 2023-01-20 11:54:43 +00:00
Fabian Joswig
9ba09e6b8f
tests: gamma_method added to fuzzy test. 2023-01-20 11:49:44 +00:00
Fabian Joswig
7bb164120b
tests: fuzzy test for Obs added, test dependencies and documentation
updated.
2023-01-20 11:44:31 +00:00
Fabian Joswig
c03e4669a0
tests: additional tests for generalization of misc.errorbar added. 2023-01-18 17:01:37 +00:00
Fabian Joswig
6ed357b51d
feat: Added wrapper for errorbar matplotlib method for more convenient
plotting.
2023-01-18 15:03:08 +00:00
Fabian Joswig
88fd37b241
fix: Corr.symmetric can now deal with None entries. (#145) 2023-01-16 16:10:19 +00:00
Fabian Joswig
43cf9c29d4
test: test for multi parameter foot feature added. 2023-01-10 10:27:56 +00:00
Fabian Joswig
a53fb18821
feat: removed attribute is_merged. 2023-01-06 13:34:26 +01:00
Fabian Joswig
b708411830
test: test for idl consistency after multiplication added. 2023-01-06 13:27:12 +01:00
Fabian Joswig
1297415710
test: test for alias gm added. 2023-01-05 11:56:48 +01:00
ppetrak
4b3fac8ee4 tests: invalid fit functions, num_grad vs auto_grad 2022-12-20 18:26:15 +01:00
Fabian Joswig
6343968404
fix: complex correlator fix extended to array valued complex
correlators.
2022-12-20 18:13:15 +01:00
Fabian Joswig
f39a70c5a8
fix: Corr.__repr__ also works for complex correlators. 2022-12-20 17:40:41 +01:00
Fabian Joswig
f68a5d044f
tests: test for construction of complex correlator object added. 2022-12-20 17:37:37 +01:00
ppetrak
80c8a0f979 feat: added (default) method Levenberg-Marquardt, test added 2022-12-20 15:26:13 +01:00
Fabian Joswig
33ff2219ba
fix: Combined fit can now handle list and array inputs for y-values, test added. 2022-12-19 16:06:12 +01:00
Fabian Joswig
140b626aae
fix: Combined fit can now handle list and array inputs for x-values,
test added.
2022-12-19 15:15:24 +01:00
Fabian Joswig
23708694d6
fix: bug in Corr.spaghetti_plot fixed which appeared in connection with
the replica separator. Test adjusted.
2022-12-07 12:23:49 +00:00
Fabian Joswig
850be29d20
tests: test for Hotelling t-squared p-value added. 2022-12-06 17:18:16 +00:00
Fabian Joswig
ad1296ae47
tests: Exception for negative matrix in GEVP tested. 2022-11-30 16:47:57 +00:00
Fabian Joswig
a8a9bfbd43
tests: test added that checks that Obs.details does not throw an error
when the error of tau is zero.
2022-10-21 12:12:27 +01:00
Simon Kuberski
d5a766ee16 feat: Speed up covariance for irregular MC chains 2022-10-21 11:05:54 +02:00
Simon Kuberski
50ac82ed1d released absolute tolerance in test_fit_corr_independent 2022-10-19 16:28:07 +02:00
Simon Kuberski
9813f741f9 feat: added log-derivatives and symmetric effective mass 2022-10-19 16:08:31 +02:00
Fabian Joswig
e3f7baa667
tests: test for gapped irregular dtauint added. 2022-10-19 12:04:49 +01:00
Simon Kuberski
89b0c37e76 fix: corrected bias correction of tau_int for irregular chains 2022-10-17 17:40:27 +02:00
Simon Kuberski
fd4c866fdd fix: bug in automatic window for irregular chains fixed 2022-10-17 14:38:23 +02:00
Fabian Joswig
f5c9a30266
tests: tests for num_grad version of prior fits added. 2022-10-07 18:02:27 +01:00
Fabian Joswig
e4d18fc8c8
tests: num_grad test for total least squares added. 2022-10-06 18:09:37 +01:00
Fabian Joswig
8cf15b651f
tests: num_grad fit test improved. 2022-10-06 17:55:04 +01:00