Debugging.

This commit is contained in:
Ludger Küperkoch 2015-06-22 16:01:16 +02:00
parent f2510ff400
commit 833b29a488

View File

@ -13,7 +13,7 @@ import matplotlib.pyplot as plt
import numpy as np
from pylot.core.pick.Picker import *
from pylot.core.pick.CharFuns import *
import pdb
def run_autopicking(wfstream, pickparam):
"""
:param: wfstream
@ -189,6 +189,7 @@ def run_autopicking(wfstream, pickparam):
aicpick.getpick())
mpickP = refPpick.getpick()
#############################################################
if mpickP is not None:
# quality assessment
# get earliest and latest possible pick and symmetrized uncertainty
[lpickP, epickP, Perror] = earllatepicker(z_copy, nfacP, tsnrz, mpickP, iplot)
@ -360,6 +361,7 @@ def run_autopicking(wfstream, pickparam):
tsmoothS, aicarhpick.getpick())
mpickS = refSpick.getpick()
#############################################################
if mpickS is not None:
# quality assessment
# get earliest and latest possible pick and symmetrized uncertainty
h_copy[0].data = trH1_filt.data