[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,
FM)
print(msg)
msg = 'autopickstation: Refined P-Pick: {} s | P-Error: {} s'.format(mpickP, Perror)
print(msg)
Sflag = 1
else:
@ -759,6 +761,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)