Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

Commit f9e54b67 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

test: specify comparison tolerance in variable

parent b5ac7051
......@@ -21,6 +21,7 @@ from .. import load_ifo, gwinc
FLO = 5
FHI = 6000
NPOINTS = 3000
FRACTIONAL_TOLERANCE = 0.01
# comparisons to skip
SKIP = [
# 'Seismic',
......@@ -113,7 +114,7 @@ def main():
diff = np.sqrt(mnoise) - np.sqrt(noise)
frac = abs(diff / np.sqrt(noise))
if max(frac) < 0.01:
if max(frac) < FRACTIONAL_TOLERANCE:
continue
logging.warning("EXCESSIVE DIFFERENCE: '{}'".format(name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment