diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html
index 52f4ee38..a550a580 100644
--- a/docs/pyerrors/correlators.html
+++ b/docs/pyerrors/correlators.html
@@ -336,7 +336,7 @@
119 def gamma_method(self, **kwargs):
120 """Apply the gamma method to the content of the Corr."""
121 for item in self.content:
- 122 if not(item is None):
+ 122 if not (item is None):
123 if self.N == 1:
124 item[0].gamma_method(**kwargs)
125 else:
@@ -356,7 +356,7 @@
139
140 if vector_l is None:
141 vector_l, vector_r = np.asarray([1.] + (self.N - 1) * [0.]), np.asarray([1.] + (self.N - 1) * [0.])
- 142 elif(vector_r is None):
+ 142 elif (vector_r is None):
143 vector_r = vector_l
144 if isinstance(vector_l, list) and not isinstance(vector_r, list):
145 if len(vector_l) != self.T:
@@ -395,7 +395,7 @@
178 """
179 if self.N == 1:
180 raise Exception("Trying to pick item from projected Corr")
- 181 newcontent = [None if(item is None) else item[i, j] for item in self.content]
+ 181 newcontent = [None if (item is None) else item[i, j] for item in self.content]
182 return Corr(newcontent)
183
184 def plottable(self):
@@ -428,7 +428,7 @@
211 newcontent.append(None)
212 else:
213 newcontent.append(0.5 * (self.content[t] + self.content[self.T - t]))
- 214 if(all([x is None for x in newcontent])):
+ 214 if (all([x is None for x in newcontent])):
215 raise Exception("Corr could not be symmetrized: No redundant values")
216 return Corr(newcontent, prange=self.prange)
217
@@ -450,7 +450,7 @@
233 newcontent.append(None)
234 else:
235 newcontent.append(0.5 * (self.content[t] - self.content[self.T - t]))
- 236 if(all([x is None for x in newcontent])):
+ 236 if (all([x is None for x in newcontent])):
237 raise Exception("Corr could not be symmetrized: No redundant values")
238 return Corr(newcontent, prange=self.prange)
239
@@ -751,7 +751,7 @@
534 newcontent.append(None)
535 else:
536 newcontent.append(0.5 * (self.content[t + 1] - self.content[t - 1]))
- 537 if(all([x is None for x in newcontent])):
+ 537 if (all([x is None for x in newcontent])):
538 raise Exception('Derivative is undefined at all timeslices')
539 return Corr(newcontent, padding=[1, 1])
540 elif variant == "forward":
@@ -761,7 +761,7 @@
544 newcontent.append(None)
545 else:
546 newcontent.append(self.content[t + 1] - self.content[t])
- 547 if(all([x is None for x in newcontent])):
+ 547 if (all([x is None for x in newcontent])):
548 raise Exception("Derivative is undefined at all timeslices")
549 return Corr(newcontent, padding=[0, 1])
550 elif variant == "backward":
@@ -771,7 +771,7 @@
554 newcontent.append(None)
555 else:
556 newcontent.append(self.content[t] - self.content[t - 1])
- 557 if(all([x is None for x in newcontent])):
+ 557 if (all([x is None for x in newcontent])):
558 raise Exception("Derivative is undefined at all timeslices")
559 return Corr(newcontent, padding=[1, 0])
560 elif variant == "improved":
@@ -781,7 +781,7 @@
564 newcontent.append(None)
565 else:
566 newcontent.append((1 / 12) * (self.content[t - 2] - 8 * self.content[t - 1] + 8 * self.content[t + 1] - self.content[t + 2]))
- 567 if(all([x is None for x in newcontent])):
+ 567 if (all([x is None for x in newcontent])):
568 raise Exception('Derivative is undefined at all timeslices')
569 return Corr(newcontent, padding=[2, 2])
570 else:
@@ -805,7 +805,7 @@
588 newcontent.append(None)
589 else:
590 newcontent.append((self.content[t + 1] - 2 * self.content[t] + self.content[t - 1]))
- 591 if(all([x is None for x in newcontent])):
+ 591 if (all([x is None for x in newcontent])):
592 raise Exception("Derivative is undefined at all timeslices")
593 return Corr(newcontent, padding=[1, 1])
594 elif variant == "improved":
@@ -815,7 +815,7 @@
598 newcontent.append(None)
599 else:
600 newcontent.append((1 / 12) * (-self.content[t + 2] + 16 * self.content[t + 1] - 30 * self.content[t] + 16 * self.content[t - 1] - self.content[t - 2]))
- 601 if(all([x is None for x in newcontent])):
+ 601 if (all([x is None for x in newcontent])):
602 raise Exception("Derivative is undefined at all timeslices")
603 return Corr(newcontent, padding=[2, 2])
604 else:
@@ -846,7 +846,7 @@
629 newcontent.append(None)
630 else:
631 newcontent.append(self.content[t] / self.content[t + 1])
- 632 if(all([x is None for x in newcontent])):
+ 632 if (all([x is None for x in newcontent])):
633 raise Exception('m_eff is undefined at all timeslices')
634
635 return np.log(Corr(newcontent, padding=[0, 1]))
@@ -871,7 +871,7 @@
654 newcontent.append(None)
655 else:
656 newcontent.append(np.abs(find_root(self.content[t][0] / self.content[t + 1][0], root_function, guess=guess)))
- 657 if(all([x is None for x in newcontent])):
+ 657 if (all([x is None for x in newcontent])):
658 raise Exception('m_eff is undefined at all timeslices')
659
660 return Corr(newcontent, padding=[0, 1])
@@ -883,7 +883,7 @@
666 newcontent.append(None)
667 else:
668 newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t]))
- 669 if(all([x is None for x in newcontent])):
+ 669 if (all([x is None for x in newcontent])):
670 raise Exception("m_eff is undefined at all timeslices")
671 return np.arccosh(Corr(newcontent, padding=[1, 1]))
672
@@ -946,7 +946,7 @@
729 raise Exception("no plateau range provided")
730 if self.N != 1:
731 raise Exception("Correlator must be projected before getting a plateau.")
- 732 if(all([self.content[t] is None for t in range(plateau_range[0], plateau_range[1] + 1)])):
+ 732 if (all([self.content[t] is None for t in range(plateau_range[0], plateau_range[1] + 1)])):
733 raise Exception("plateau is undefined at all timeslices in plateaurange.")
734 if auto_gamma:
735 self.gamma_method()
@@ -1211,7 +1211,7 @@
994
995 def __mul__(self, y):
996 if isinstance(y, Corr):
- 997 if not((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
+ 997 if not ((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
998 raise Exception("Multiplication of Corr object requires N=N or N=1 and T=T")
999 newcontent = []
1000 for t in range(self.T):
@@ -1239,7 +1239,7 @@
1022
1023 def __truediv__(self, y):
1024 if isinstance(y, Corr):
-1025 if not((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
+1025 if not ((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
1026 raise Exception("Multiplication of Corr object requires N=N or N=1 and T=T")
1027 newcontent = []
1028 for t in range(self.T):
@@ -1622,7 +1622,7 @@
120 def gamma_method(self, **kwargs):
121 """Apply the gamma method to the content of the Corr."""
122 for item in self.content:
- 123 if not(item is None):
+ 123 if not (item is None):
124 if self.N == 1:
125 item[0].gamma_method(**kwargs)
126 else:
@@ -1642,7 +1642,7 @@
140
141 if vector_l is None:
142 vector_l, vector_r = np.asarray([1.] + (self.N - 1) * [0.]), np.asarray([1.] + (self.N - 1) * [0.])
- 143 elif(vector_r is None):
+ 143 elif (vector_r is None):
144 vector_r = vector_l
145 if isinstance(vector_l, list) and not isinstance(vector_r, list):
146 if len(vector_l) != self.T:
@@ -1681,7 +1681,7 @@
179 """
180 if self.N == 1:
181 raise Exception("Trying to pick item from projected Corr")
- 182 newcontent = [None if(item is None) else item[i, j] for item in self.content]
+ 182 newcontent = [None if (item is None) else item[i, j] for item in self.content]
183 return Corr(newcontent)
184
185 def plottable(self):
@@ -1714,7 +1714,7 @@
212 newcontent.append(None)
213 else:
214 newcontent.append(0.5 * (self.content[t] + self.content[self.T - t]))
- 215 if(all([x is None for x in newcontent])):
+ 215 if (all([x is None for x in newcontent])):
216 raise Exception("Corr could not be symmetrized: No redundant values")
217 return Corr(newcontent, prange=self.prange)
218
@@ -1736,7 +1736,7 @@
234 newcontent.append(None)
235 else:
236 newcontent.append(0.5 * (self.content[t] - self.content[self.T - t]))
- 237 if(all([x is None for x in newcontent])):
+ 237 if (all([x is None for x in newcontent])):
238 raise Exception("Corr could not be symmetrized: No redundant values")
239 return Corr(newcontent, prange=self.prange)
240
@@ -2037,7 +2037,7 @@
535 newcontent.append(None)
536 else:
537 newcontent.append(0.5 * (self.content[t + 1] - self.content[t - 1]))
- 538 if(all([x is None for x in newcontent])):
+ 538 if (all([x is None for x in newcontent])):
539 raise Exception('Derivative is undefined at all timeslices')
540 return Corr(newcontent, padding=[1, 1])
541 elif variant == "forward":
@@ -2047,7 +2047,7 @@
545 newcontent.append(None)
546 else:
547 newcontent.append(self.content[t + 1] - self.content[t])
- 548 if(all([x is None for x in newcontent])):
+ 548 if (all([x is None for x in newcontent])):
549 raise Exception("Derivative is undefined at all timeslices")
550 return Corr(newcontent, padding=[0, 1])
551 elif variant == "backward":
@@ -2057,7 +2057,7 @@
555 newcontent.append(None)
556 else:
557 newcontent.append(self.content[t] - self.content[t - 1])
- 558 if(all([x is None for x in newcontent])):
+ 558 if (all([x is None for x in newcontent])):
559 raise Exception("Derivative is undefined at all timeslices")
560 return Corr(newcontent, padding=[1, 0])
561 elif variant == "improved":
@@ -2067,7 +2067,7 @@
565 newcontent.append(None)
566 else:
567 newcontent.append((1 / 12) * (self.content[t - 2] - 8 * self.content[t - 1] + 8 * self.content[t + 1] - self.content[t + 2]))
- 568 if(all([x is None for x in newcontent])):
+ 568 if (all([x is None for x in newcontent])):
569 raise Exception('Derivative is undefined at all timeslices')
570 return Corr(newcontent, padding=[2, 2])
571 else:
@@ -2091,7 +2091,7 @@
589 newcontent.append(None)
590 else:
591 newcontent.append((self.content[t + 1] - 2 * self.content[t] + self.content[t - 1]))
- 592 if(all([x is None for x in newcontent])):
+ 592 if (all([x is None for x in newcontent])):
593 raise Exception("Derivative is undefined at all timeslices")
594 return Corr(newcontent, padding=[1, 1])
595 elif variant == "improved":
@@ -2101,7 +2101,7 @@
599 newcontent.append(None)
600 else:
601 newcontent.append((1 / 12) * (-self.content[t + 2] + 16 * self.content[t + 1] - 30 * self.content[t] + 16 * self.content[t - 1] - self.content[t - 2]))
- 602 if(all([x is None for x in newcontent])):
+ 602 if (all([x is None for x in newcontent])):
603 raise Exception("Derivative is undefined at all timeslices")
604 return Corr(newcontent, padding=[2, 2])
605 else:
@@ -2132,7 +2132,7 @@
630 newcontent.append(None)
631 else:
632 newcontent.append(self.content[t] / self.content[t + 1])
- 633 if(all([x is None for x in newcontent])):
+ 633 if (all([x is None for x in newcontent])):
634 raise Exception('m_eff is undefined at all timeslices')
635
636 return np.log(Corr(newcontent, padding=[0, 1]))
@@ -2157,7 +2157,7 @@
655 newcontent.append(None)
656 else:
657 newcontent.append(np.abs(find_root(self.content[t][0] / self.content[t + 1][0], root_function, guess=guess)))
- 658 if(all([x is None for x in newcontent])):
+ 658 if (all([x is None for x in newcontent])):
659 raise Exception('m_eff is undefined at all timeslices')
660
661 return Corr(newcontent, padding=[0, 1])
@@ -2169,7 +2169,7 @@
667 newcontent.append(None)
668 else:
669 newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t]))
- 670 if(all([x is None for x in newcontent])):
+ 670 if (all([x is None for x in newcontent])):
671 raise Exception("m_eff is undefined at all timeslices")
672 return np.arccosh(Corr(newcontent, padding=[1, 1]))
673
@@ -2232,7 +2232,7 @@
730 raise Exception("no plateau range provided")
731 if self.N != 1:
732 raise Exception("Correlator must be projected before getting a plateau.")
- 733 if(all([self.content[t] is None for t in range(plateau_range[0], plateau_range[1] + 1)])):
+ 733 if (all([self.content[t] is None for t in range(plateau_range[0], plateau_range[1] + 1)])):
734 raise Exception("plateau is undefined at all timeslices in plateaurange.")
735 if auto_gamma:
736 self.gamma_method()
@@ -2497,7 +2497,7 @@
995
996 def __mul__(self, y):
997 if isinstance(y, Corr):
- 998 if not((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
+ 998 if not ((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
999 raise Exception("Multiplication of Corr object requires N=N or N=1 and T=T")
1000 newcontent = []
1001 for t in range(self.T):
@@ -2525,7 +2525,7 @@
1023
1024 def __truediv__(self, y):
1025 if isinstance(y, Corr):
-1026 if not((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
+1026 if not ((self.N == 1 or y.N == 1 or self.N == y.N) and self.T == y.T):
1027 raise Exception("Multiplication of Corr object requires N=N or N=1 and T=T")
1028 newcontent = []
1029 for t in range(self.T):
@@ -2888,7 +2888,7 @@ region indentified for this correlator.
120 def gamma_method(self, **kwargs):
121 """Apply the gamma method to the content of the Corr."""
122 for item in self.content:
-123 if not(item is None):
+123 if not (item is None):
124 if self.N == 1:
125 item[0].gamma_method(**kwargs)
126 else:
@@ -2926,7 +2926,7 @@ region indentified for this correlator.
140
141 if vector_l is None:
142 vector_l, vector_r = np.asarray([1.] + (self.N - 1) * [0.]), np.asarray([1.] + (self.N - 1) * [0.])
-143 elif(vector_r is None):
+143 elif (vector_r is None):
144 vector_r = vector_l
145 if isinstance(vector_l, list) and not isinstance(vector_r, list):
146 if len(vector_l) != self.T:
@@ -2987,7 +2987,7 @@ By default it will return the lowest source, which usually means unsmeared-unsme
179 """
180 if self.N == 1:
181 raise Exception("Trying to pick item from projected Corr")
-182 newcontent = [None if(item is None) else item[i, j] for item in self.content]
+182 newcontent = [None if (item is None) else item[i, j] for item in self.content]
183 return Corr(newcontent)