From 02122d2d796a8adfd2c05665c9fc7a71fce1338b Mon Sep 17 00:00:00 2001
From: fjosw
Date: Tue, 15 Feb 2022 17:03:33 +0000
Subject: [PATCH] Documentation updated
---
docs/pyerrors/correlators.html | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html
index ed3542f9..5cdf0f33 100644
--- a/docs/pyerrors/correlators.html
+++ b/docs/pyerrors/correlators.html
@@ -427,7 +427,9 @@
if self.T % 2 != 0:
raise Exception("Can not symmetrize odd T")
- if not all([o.is_zero_within_error(3) for o in self.content[0]]):
+ test = 1 * self
+ test.gamma_method()
+ if not all([o.is_zero_within_error(3) for o in test.content[0]]):
warnings.warn("Correlator does not seem to be anti-symmetric around x0=0.", RuntimeWarning)
newcontent = [self.content[0]]
@@ -666,6 +668,7 @@
t_slices = []
for x0, t_slice in enumerate((self - T_partner).content):
if t_slice is not None:
+ t_slice.gamma_method()
if not t_slice[0].is_zero_within_error(5):
t_slices.append(x0)
if t_slices:
@@ -1512,7 +1515,9 @@
if self.T % 2 != 0:
raise Exception("Can not symmetrize odd T")
- if not all([o.is_zero_within_error(3) for o in self.content[0]]):
+ test = 1 * self
+ test.gamma_method()
+ if not all([o.is_zero_within_error(3) for o in test.content[0]]):
warnings.warn("Correlator does not seem to be anti-symmetric around x0=0.", RuntimeWarning)
newcontent = [self.content[0]]
@@ -1751,6 +1756,7 @@
t_slices = []
for x0, t_slice in enumerate((self - T_partner).content):
if t_slice is not None:
+ t_slice.gamma_method()
if not t_slice[0].is_zero_within_error(5):
t_slices.append(x0)
if t_slices:
@@ -2675,7 +2681,9 @@ timeslice and the error on each timeslice.
if self.T % 2 != 0:
raise Exception("Can not symmetrize odd T")
- if not all([o.is_zero_within_error(3) for o in self.content[0]]):
+ test = 1 * self
+ test.gamma_method()
+ if not all([o.is_zero_within_error(3) for o in test.content[0]]):
warnings.warn("Correlator does not seem to be anti-symmetric around x0=0.", RuntimeWarning)
newcontent = [self.content[0]]
@@ -3160,6 +3168,7 @@ on the configurations in obs[i].idl.
t_slices = []
for x0, t_slice in enumerate((self - T_partner).content):
if t_slice is not None:
+ t_slice.gamma_method()
if not t_slice[0].is_zero_within_error(5):
t_slices.append(x0)
if t_slices: