aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/plot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/plot.py b/utils/plot.py
index 4f9d961..954c24b 100644
--- a/utils/plot.py
+++ b/utils/plot.py
@@ -1141,6 +1141,10 @@ def plot_x(data, outfile, outformat, args):
scales, statistic = ma.compress_rows(r_data[idim][itex][isrc]).T
print 'scales', scales
print 'statistic', statistic
+ max_st = np.max(statistic)
+ if args.stat_method is StatCateg.BAYESIAN:
+ if (statistic[0] - max_st) > np.log(10**(BAYES_K)):
+ raise AssertionError('Discovered LV!')
try:
tck, u = splprep([scales, statistic], s=0)