feat!: covariance replaced by covariance2, window altered to minimum of

the window of the two observables. Tests adjusted.
This commit is contained in:
Fabian Joswig 2021-12-13 17:06:03 +00:00
parent 06f4caf579
commit ec20ee38a6
4 changed files with 10 additions and 79 deletions

View file

@ -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)))