test_correlators added, tests extended

This commit is contained in:
Fabian Joswig 2021-10-15 15:01:53 +01:00
parent e46746e4ca
commit 25d250cd53
4 changed files with 64 additions and 5 deletions

View file

@ -242,7 +242,9 @@ class Corr:
Parameters
----------
variant -- log: uses the standard effective mass log(C(t) / C(t+1))
periodic : Solves C(t) / C(t+1) = cosh(m * (t - T/2)) / cosh(m * (t + 1 - T/2)) for m. See, e.g., arXiv:1205.5380
cosh : Use periodicitiy of the correlator by solving C(t) / C(t+1) = cosh(m * (t - T/2)) / cosh(m * (t + 1 - T/2)) for m.
sinh : Use anti-periodicitiy of the correlator by solving C(t) / C(t+1) = sinh(m * (t - T/2)) / sinh(m * (t + 1 - T/2)) for m.
See, e.g., arXiv:1205.5380
guess -- guess for the root finder, only relevant for the root variant
"""
if self.N != 1: