From f6ae77d4d273fab6cb451c7515614641b9494413 Mon Sep 17 00:00:00 2001 From: Darius Arnold Date: Mon, 21 Aug 2017 13:16:22 +0200 Subject: [PATCH] [add] tune autopicker displays picked onset time and error in seconds --- pylot/core/pick/autopick.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index 7beb2e9c..e69d11c5 100644 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -498,6 +498,8 @@ def autopickstation(wfstream, pickparam, verbose=False, SNRPdB, FM) print(msg) + msg = 'autopickstation: Refined P-Pick: {} s | P-Error: {} s'.format(mpickP, Perror) + print(msg) Sflag = 1 else: @@ -758,6 +760,9 @@ def autopickstation(wfstream, pickparam, verbose=False, lpickS = lpick[ipick] Serror = pickerr[ipick] + msg = 'autopickstation: Refined S-Pick: {} s | S-Error: {} s'.format(mpickS, Serror) + print(msg) + # get SNR [SNRS, SNRSdB, Snoiselevel] = getSNR(h_copy, tsnrh, mpickS)