From d0e6c2819ca8e568f4cb8a58f5f28e878784c803 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 12 Apr 2019 10:37:15 +0200 Subject: [PATCH] [bugfix] partial of old code remained after merge --- pylot/core/pick/autopick.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index ea3e60be..87031f0a 100644 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -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: """