[bugfix] partial of old code remained after merge

This commit is contained in:
Marcel Paffrath 2019-04-12 10:37:15 +02:00
parent 1ee3e43451
commit d0e6c2819c

View File

@ -217,11 +217,6 @@ class PickingResults(dict):
__setattr__ = dict.__setitem__
__delattr__ = dict.__delitem__
# get first P and S onsets from arrivals list
arrP, estFirstP = min([(arr, arr.time) for arr in phases['P']], key=lambda t: t[1])
arrS, estFirstS = min([(arr, arr.time) for arr in phases['S']], key=lambda t: t[1])
print('autopick: estimated first arrivals for P: {} s, S:{} s after event'
' origin time using TauPy'.format(estFirstP, estFirstS))
class PickingContainer:
"""