Commit graph

2468 commits

Author SHA1 Message Date
fjosw
6643b523c5 Documentation updated 2023-07-21 13:18:02 +00:00
fjosw
4317187392 Merge branch 'develop' into documentation 2023-07-21 13:17:11 +00:00
Fabian Joswig
7f8c2ce33b
feat: added support for addition and multiplication of complex numbers (#209)
to Corr objects.
2023-07-21 14:15:41 +01:00
Fabian Joswig
01ef97ffdf
docs: example 5 validation updated. 2023-07-20 12:20:06 +01:00
fjosw
efc460c2f1 Documentation updated 2023-07-20 10:56:03 +00:00
fjosw
bd8042ac8d Merge branch 'develop' into documentation 2023-07-20 10:55:15 +00:00
Fabian Joswig
7f5373d5e4
build: version bumped to 2.10.0-dev 2023-07-20 11:54:43 +01:00
fjosw
415a873e27 Documentation updated 2023-07-20 10:43:18 +00:00
fjosw
1c4b5bfe33 Merge branch 'develop' into documentation 2023-07-20 10:42:29 +00:00
Fabian Joswig
d768d355ac
build: version bumped to 2.9.0 2023-07-20 11:41:50 +01:00
Fabian Joswig
07ad89ec6e
docs: CHANGELOG updated. 2023-07-20 11:41:10 +01:00
fjosw
de28561260 Documentation updated 2023-07-20 10:32:55 +00:00
fjosw
61afbb10fb Merge branch 'develop' into documentation 2023-07-20 10:31:59 +00:00
Fabian Joswig
087a3f92eb
feat: short version of vectorized gamma_method simplified. 2023-07-20 11:31:20 +01:00
fjosw
5165a43691 Documentation updated 2023-07-19 14:07:36 +00:00
fjosw
af8ab0a59f Merge branch 'develop' into documentation 2023-07-19 14:06:38 +00:00
Fabian Joswig
af28f77ec5
__eq__ method for Corr class (#206)
* 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.
2023-07-19 15:06:19 +01:00
fjosw
7ef931e23f Documentation updated 2023-07-19 11:14:38 +00:00
fjosw
9a186d6c30 Merge branch 'develop' into documentation 2023-07-19 11:13:42 +00:00
Fabian Joswig
1e438356fd
Vectorized gamma_method (#207)
* 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.
2023-07-19 12:13:20 +01:00
fjosw
ddf98427c6 Documentation updated 2023-07-18 15:06:14 +00:00
fjosw
3e04db46ce Merge branch 'develop' into documentation 2023-07-18 15:05:22 +00:00
Fabian Joswig
6b7846486d
General hadrons hdf5 reader added (#205)
* feat: new general read_hd5 function added.

* feat: real or imaginary part can be specified in read_hd5.

* fix: spacing fixed.

* feat: Added the option to extract complex correlators in read_hd5.
2023-07-18 16:04:59 +01:00
fjosw
8eacada9de Documentation updated 2023-07-18 11:08:42 +00:00
fjosw
9b06620d58 Merge branch 'develop' into documentation 2023-07-18 11:08:01 +00:00
Fabian Joswig
66d5f8be24
Corr array initialization generalized (#203)
* feat: corr array initialization generalized.

* feat: additional checks for three-dimensional arrays added.

* docs: Corr docstring improved.

* docs: typos corrected.

* docs: details about None padding added to Corr docstring.
2023-07-18 12:07:46 +01:00
fjosw
137575c1b3 Documentation updated 2023-07-18 09:37:12 +00:00
fjosw
a13f13c327 Merge branch 'develop' into documentation 2023-07-18 09:36:35 +00:00
Fabian Joswig
491c7bcb04
fix: split meson on last underscore in read_meson_hdf5. (#204) 2023-07-18 10:36:19 +01:00
fjosw
1d9bc89e16 Documentation updated 2023-07-17 14:35:42 +00:00
fjosw
2f1b3e815d Merge branch 'develop' into documentation 2023-07-17 14:34:55 +00:00
Fabian Joswig
ad188acec4
docs: instruction for installing develop branch updated. 2023-07-17 15:34:25 +01:00
fjosw
63a14af010 Documentation updated 2023-07-17 12:36:01 +00:00
fjosw
ca043fb8fc Merge branch 'develop' into documentation 2023-07-17 12:35:11 +00:00
Fabian Joswig
bf1c762148
docs: read_meson docstring improved. 2023-07-17 13:34:39 +01:00
fjosw
fca014ed5c Documentation updated 2023-07-17 10:50:02 +00:00
fjosw
345b7404d3 Merge branch 'develop' into documentation 2023-07-17 10:49:15 +00:00
Fabian Joswig
f1150f09c8
Matmul overloaded for correlator class. (#199)
* 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>
2023-07-17 11:48:57 +01:00
Fabian Joswig
7d1858f6c4
Merge branch 'develop' of github.com:fjosw/pyerrors into develop 2023-07-17 10:19:56 +01:00
Fabian Joswig
1343391212
docs: ask a question added to README. 2023-07-17 10:19:20 +01:00
fjosw
171c2cda2d Documentation updated 2023-07-14 13:27:54 +00:00
fjosw
faf1f78ee8 Merge branch 'develop' into documentation 2023-07-14 13:27:13 +00:00
Fabian Joswig
5c2a6de56f
fix: explicit Exception for combined fit constant edge case. (#202) 2023-07-14 14:26:54 +01:00
fjosw
8c370ebc91 Documentation updated 2023-07-14 13:23:17 +00:00
fjosw
6f3abd0b36 Merge branch 'develop' into documentation 2023-07-14 13:22:20 +00: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
fjosw
8dae4e684c Documentation updated 2023-07-14 12:39:22 +00:00
fjosw
328869f300 Merge branch 'develop' into documentation 2023-07-14 12:38:38 +00:00
Fabian Joswig
8736d1cd3c
feat: CObs format added and complex Corr print improved. (#200) 2023-07-14 13:38:21 +01:00
fjosw
ffa1193595 Documentation updated 2023-07-14 12:13:08 +00:00