s-kuberski
15d07de87f
fix: String conversion of Obs can now handle a dvalue that is NaN or inf ( #173 )
2023-05-03 16:30:59 +02:00
s-kuberski
65a9128a7d
Fix/merge idx ( #172 )
...
* Fix: Corrected merging of idls
* Fix: Computation of drho in cases where tau_int is large compared to the chain length
* Removed unnecessary imports
* Refactor list comparisons in obs.py
2023-04-28 18:14:51 +01:00
Fabian Joswig
be061fdc23
Feat/str format ( #170 )
...
* feat: _format_uncertainty now accepts a significance.
* feat: __format__ now accepts significance.
* feat: explicit + sign added to format.
* fix: - option removed from format specifier.
* feat: space format added.
2023-04-20 17:31:37 +01:00
s-kuberski
a214465413
Fix/gaps ( #169 )
...
* fix: Fixed range detection in gamma_method
* Corrected test in dobsio
* Changed expansion paradigm in gamma_method
* Extended tests
* Updated docstrings
* Removed unnecessary intermediate variable
* Removed unnecessary code
* Fixed previously introduced bug in output in obs.details()
* Fixed previously introduced bug in window determination
* New criterion for matching gapped replica, fixed determination of w_max and fixed tau_exp analysis with gaps
* tests: split up consistency test for gamma method.
---------
Co-authored-by: Fabian Joswig <fabian.joswig@ed.ac.uk>
2023-04-20 17:30:57 +01:00
Fabian Joswig
839d9214ed
Improved prior fit ( #161 )
...
* 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>
2023-03-07 16:15:16 +00:00
Fabian Joswig
9ef7e504a0
chore: Exceptions in Obs.__init__ made more explicit.
2023-03-02 18:54:08 +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
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
37c59a198e
test: test for values added to non overlapping tests.
2023-02-02 15:08:22 +00: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
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
1297415710
test: test for alias gm added.
2023-01-05 11:56:48 +01: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
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
b2d5263ea3
feat: hash method for Obs objects added.
2022-07-01 16:53:08 +01:00
Fabian Joswig
d922b72f3b
feat: Obs.reweight method added.
2022-06-23 13:50:24 +01:00
Fabian Joswig
612e6c742b
tests: matplotlib figures explicitly closed in tests
2022-06-14 14:46:45 +01:00
Fabian Joswig
5e550f4321
tests: test for smooth_eigenvalues functionality added.
2022-06-10 09:29:04 +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
Fabian Joswig
217d310ca4
tests: test for _intersection_idx extended.
2022-04-28 14:13:29 +01:00
Fabian Joswig
eacc9b19a3
feat: the correlation for two observables with different idls is now based on
...
the intersection of two instead of the union. Tests added.
2022-04-08 11:46:50 +01:00
Fabian Joswig
934d091249
feat: _intersection_idx and _collapse_deltas_for_merge together with
...
tests added.
2022-04-08 11:14:58 +01:00
Fabian Joswig
66997ac993
tests: test for merge_idx added.
2022-04-07 16:14:46 +01:00
Fabian Joswig
7edc617e04
tests: test for covariance of two obs with differently spaced idls
...
added.
2022-04-07 16:09:37 +01:00
Fabian Joswig
40fea8a698
Merge branch 'v2.1.0+dev' into develop
2022-03-31 11:41:25 +01:00
Fabian Joswig
cd2f361a3e
tests: tests for linalg and obs extended.
2022-03-24 11:45:18 +00:00
Fabian Joswig
b72897a1bd
tests: random data removed from test_gamma_method_standard_data
2022-03-08 11:02:46 +00:00
Fabian Joswig
c446898932
fix: warning for rank deficient covariance matrix is no longer called
...
when covobs are involved. Test added.
2022-03-04 17:15:29 +00:00
Fabian Joswig
ece3c5d2ba
tests: additional test added.
2022-03-02 11:49:29 +00:00
Fabian Joswig
da0c43fe9a
feat: correlation parameter added to covariance again, tests extended.
2022-03-01 17:46:12 +00:00
Fabian Joswig
8d93ff95f2
tests: further tests for covariance added.
2022-03-01 17:38:42 +00:00
Fabian Joswig
82419b7a88
feat: positive semi-definite estimator for the covariance implemented,
...
fits.covariance matrix deprecated, covariance can now handle lists of
observables.
2022-03-01 09:45:25 +00:00
Fabian Joswig
498a251072
refactor!: if clause in Obs.__init__ eliminated, empty observables need
...
to be initialized with means=[] from now on.
2022-02-28 13:43:49 +00:00
Simon Kuberski
86b1371363
Adjusted function definitions, added test for _merge_idx
2022-02-23 17:51:12 +01: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
080e09a07f
tests: tests cleaned up, name duplicate in obs_test corrected
2022-02-09 11:23:58 +00:00