mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
feat!: covariance replaced by covariance2, window altered to minimum of
the window of the two observables. Tests adjusted.
This commit is contained in:
parent
06f4caf579
commit
ec20ee38a6
4 changed files with 10 additions and 79 deletions
|
@ -40,7 +40,7 @@ def test_covobs():
|
|||
|
||||
[o.gamma_method() for o in cl]
|
||||
assert(pe.covariance(cl[0], cl[1]) == cov[0][1])
|
||||
assert(pe.covariance2(cl[0], cl[1]) == cov[1][0])
|
||||
assert(pe.covariance(cl[0], cl[1]) == cov[1][0])
|
||||
|
||||
do = cl[0] * cl[1]
|
||||
assert(np.array_equal(do.covobs['rAP'].grad, np.transpose([pi[1], pi[0]]).reshape(2, 1)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue