From 71d8626fa330b38e253f79af1f69307c8af3a741 Mon Sep 17 00:00:00 2001 From: Darius Arnold Date: Fri, 6 Jul 2018 11:10:02 +0200 Subject: [PATCH] [bugfix] parameters tpred2z and tdet2z were unused --- pylot/core/pick/autopick.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index 9e28a08a..7fca2f87 100644 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -769,7 +769,7 @@ class AutopickStation(object): if self.p_params.algoP == 'HOS': cf2 = HOScf(z_copy, cuttimes2, self.p_params.tlta, self.p_params.hosorder) elif self.p_params.algoP == 'ARZ': - cf2 = ARZcf(z_copy, cuttimes2, self.p_params.tpred1z, self.p_params.Parorder, self.p_params.tdet1z, self.p_params.addnoise) + cf2 = ARZcf(z_copy, cuttimes2, self.p_params.tpred2z, self.p_params.Parorder, self.p_params.tdet2z, self.p_params.addnoise) else: cf2 = None # save cf2 for plotting