mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-07-01 01:09:27 +02:00
Corr.correlate implemented
This commit is contained in:
parent
5fb29fd326
commit
ac21569620
3 changed files with 32 additions and 1 deletions
|
@ -1145,6 +1145,13 @@ def reweight(weight, obs, **kwargs):
|
|||
def correlate(obs_a, obs_b):
|
||||
"""Correlate two observables.
|
||||
|
||||
Attributes:
|
||||
-----------
|
||||
obs_a : Obs
|
||||
First observable
|
||||
obs_b : Obs
|
||||
Second observable
|
||||
|
||||
Keep in mind to only correlate primary observables which have not been reweighted
|
||||
yet. The reweighting has to be applied after correlating the observables.
|
||||
Currently only works if ensembles are identical. This is not really necessary.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue