1
0
Fork 0
mirror of https://github.com/fjosw/pyerrors.git synced 2025-03-16 15:20:24 +01:00

docs: docstring of covariance adjusted.

This commit is contained in:
Fabian Joswig 2021-12-13 17:11:26 +00:00
parent ec20ee38a6
commit 68a9a962d7

View file

@ -1331,8 +1331,7 @@ def covariance(obs1, obs2, correlation=False, **kwargs):
The gamma method has to be applied first to both observables. The gamma method has to be applied first to both observables.
If abs(covariance(obs1, obs2)) > obs1.dvalue * obs2.dvalue, the covariance If abs(covariance(obs1, obs2)) > obs1.dvalue * obs2.dvalue, the covariance
is constrained to the maximum value in order to make sure that covariance is constrained to the maximum value.
matrices are positive semidefinite.
Keyword arguments Keyword arguments
----------------- -----------------