From 41a2e840f88fd26fba9bb02b8b7197d2a9e7c2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Mon, 26 Jan 2015 10:55:18 +0100 Subject: [PATCH] Some changes to be actual to Python2.7 --- pylot/core/pick/Picker.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pylot/core/pick/Picker.py b/pylot/core/pick/Picker.py index 6e6f4d8d..a7c3d154 100644 --- a/pylot/core/pick/Picker.py +++ b/pylot/core/pick/Picker.py @@ -17,7 +17,6 @@ autoregressive prediction: application ot local and regional distances, Geophys. import numpy as np import matplotlib.pyplot as plt from pylot.core.pick.CharFuns import CharacteristicFunction -import pdb class AutoPicking(object): ''' @@ -173,7 +172,7 @@ class PragPicker(AutoPicking): self.Pick = -1 #smooth CF - ismooth = round(self.Tsmooth / self.dt); + ismooth = int(round(self.Tsmooth / self.dt)) cfsmooth = np.zeros(len(self.cf)) if len(self.cf) < ismooth: print 'PragPicker: Tsmooth larger than CF!'