Commit graph

29 commits

Author SHA1 Message Date
s-kuberski
17792418ed
[Fix] Removed the possibility to create an Obs from data on several replica (#258)
* [Fix] Removed the possibility to create an Obs from data on several replica

* [Fix] extended tests and corrected a small bug in the previous commit

---------

Co-authored-by: Simon Kuberski <simon.kuberski@cern.ch>
2025-02-25 16:58:44 +01:00
s-kuberski
4b1bb0872a
fix: corrected bug that prevented combined fits with multiple x-obs in some cases (#241)
* 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>
2024-09-13 19:15:59 +02:00
Fabian Joswig
43bd99b6c7
[fix] Numpy 2 breaking changes in tests (#234) 2024-04-17 14:53:34 +02:00
JanNeuendorf
e1a4d0c218
Additional GEVP method with errors (#195)
* 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>
2023-11-17 18:57:18 +01:00
s-kuberski
6dcd0c3518
feat: Added numerical integration of generic functions (#201)
* feat: Added numerical integration of generic functions

* refactored integration routines

* tests: two trivial tests for integration added.

* docs: quad docstring corrected.

* Small bugfix for integration without obs

---------

Co-authored-by: Fabian Joswig <fabian.joswig@ed.ac.uk>
2023-07-14 14:21:59 +01:00
Fabian Joswig
a53fb18821
feat: removed attribute is_merged. 2023-01-06 13:34:26 +01:00
Fabian Joswig
338bf8906a refactor: maintainability issues in tests fixed. 2022-06-24 12:28:49 +01:00
Fabian Joswig
cd2f361a3e tests: tests for linalg and obs extended. 2022-03-24 11:45:18 +00:00
Fabian Joswig
b8c26fd41d refactor: unnecessary code in scalar_mat_op removed 2021-12-23 14:26:17 +01:00
Fabian Joswig
a2a799b591 feat: linalg.det added, test added 2021-12-10 14:39:14 +00:00
Fabian Joswig
525dea0209 refactor: removed code from autograd master, test adjusted 2021-12-10 14:26:05 +00:00
Fabian Joswig
5ebfda5250 test: test for linalg.eig added 2021-12-10 14:20:51 +00:00
Fabian Joswig
757d8ade06 test: test for multidimensional covobs multiplication extended 2021-12-07 08:11:38 +00:00
Fabian Joswig
e8bcf8de6f fix: array mode now also works with covobs with N>1 2021-12-07 08:09:38 +00:00
Fabian Joswig
df6b151c13 fix: array mode now works with elements defined on different ensembles 2021-12-07 07:36:24 +00:00
Fabian Joswig
b0610544a8 fix: array mode now works for elements with different covobs 2021-12-07 07:29:05 +00:00
Fabian Joswig
674a1ea6f6 test: test for array mode with different contents commented out until
fix
2021-12-06 22:18:28 +00:00
Fabian Joswig
93d87f8f8c test: test for array mode extended 2021-12-06 22:14:24 +00:00
Fabian Joswig
02d8f469eb feat: derived observable array mode works now, test added 2021-12-06 21:59:41 +00:00
Fabian Joswig
4c8d758889 test: test for linalg.einsum added 2021-12-01 12:19:32 +00:00
Fabian Joswig
976d9c3f29 feat: linalg.jack_matmul now also works with non Obs valued matrices. 2021-11-18 11:49:46 +00:00
Fabian Joswig
0954ebee6e test: test for jack_matmul with mutliple operands extended 2021-11-18 11:03:55 +00:00
Fabian Joswig
cf1c38462d test: test for jack_matmul with multiple operands added 2021-11-18 11:02:31 +00:00
Fabian Joswig
865830af4c feat: alternative matrix multiplication routine jack_matmul implemented 2021-11-17 16:57:08 +00:00
Fabian Joswig
d26bbdc3bd expand_deltas renamed to _expand_deltas and made a function instead of
class method
2021-11-12 11:41:23 +00:00
Fabian Joswig
b80b746fae test for irregular matrix inverse added 2021-11-12 09:56:07 +00:00
Fabian Joswig
17f7753225 test for derived_array and irregular histories added 2021-11-11 11:15:25 +00:00
Fabian Joswig
d9f4e5b453 T_symmetry test added 2021-11-02 11:23:11 +00:00
Fabian Joswig
b5f3dd6ac3 Benchmarks added 2021-10-26 10:20:47 +01:00
Renamed from tests/test_linalg.py (Browse further)