Some changes to be actual to Python2.7

This commit is contained in:
Ludger Küperkoch 2015-01-26 10:55:18 +01:00
parent 2d48ad3bb2
commit 41a2e840f8

View File

@ -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!'