From 8282a7aa12b5e8ffa081be665b2ac095f5794336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Thu, 2 Jul 2015 09:23:51 +0200 Subject: [PATCH] Marginal changes. --- pylot/core/pick/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 3f3a91b7..8868b462 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -611,9 +611,9 @@ def checksignallength(X, pick, TSNR, minsiglength, nfac, minpercent, iplot): returnflag = 1 else: print 'checksignallength: Signal shorter than required minimum signal length!' - print 'Presumably picked picked noise peak, pick is rejected!' + print 'Presumably picked noise peak, pick is rejected!' returnflag = 0 - + if iplot == 2: plt.figure(iplot) p1, = plt.plot(t,x, 'k') @@ -709,7 +709,6 @@ def checkPonsets(pickdic, dttolerance, iplot): checkedonsets = pickdic - if iplot > 1: p1, = plt.plot(np.arange(0, len(Ppicks)), Ppicks, 'r+', markersize=14) p2, = plt.plot(igood, np.array(Ppicks)[igood], 'g*', markersize=14)