[bugfix] darius: comparison of P-pick slope to minAIC-S-slope instead of S-pick slope

This commit is contained in:
Marcel Paffrath 2017-08-10 11:04:46 +02:00
parent a450189ba2
commit 1ed4f73e5c

View File

@ -580,7 +580,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
aictsmoothS, fig=fig)
###############################################################
# go on with processing if AIC onset passes quality control
slope = aicpick.getSlope()
slope = aicarhpick.getSlope()
if not slope:
slope = 0
if (slope >= minAICSslope and