[add] tune autopicker displays picked onset time and error in seconds

This commit is contained in:
Darius Arnold 2017-08-21 13:16:22 +02:00 committed by Marcel
parent 8e4fa5edca
commit 19566715a7

View File

@ -499,6 +499,8 @@ def autopickstation(wfstream, pickparam, verbose=False,
SNRPdB, SNRPdB,
FM) FM)
print(msg) print(msg)
msg = 'autopickstation: Refined P-Pick: {} s | P-Error: {} s'.format(mpickP, Perror)
print(msg)
Sflag = 1 Sflag = 1
else: else:
@ -759,6 +761,9 @@ def autopickstation(wfstream, pickparam, verbose=False,
lpickS = lpick[ipick] lpickS = lpick[ipick]
Serror = pickerr[ipick] Serror = pickerr[ipick]
msg = 'autopickstation: Refined S-Pick: {} s | S-Error: {} s'.format(mpickS, Serror)
print(msg)
# get SNR # get SNR
[SNRS, SNRSdB, Snoiselevel] = getSNR(h_copy, tsnrh, mpickS) [SNRS, SNRSdB, Snoiselevel] = getSNR(h_copy, tsnrh, mpickS)