[bugfix] parameters tpred2z and tdet2z were unused
This commit is contained in:
parent
b0ad99eced
commit
df0f059ff3
@ -179,6 +179,8 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
|||||||
nfacP = pickparam.get('nfacP')
|
nfacP = pickparam.get('nfacP')
|
||||||
tpred1z = pickparam.get('tpred1z')
|
tpred1z = pickparam.get('tpred1z')
|
||||||
tdet1z = pickparam.get('tdet1z')
|
tdet1z = pickparam.get('tdet1z')
|
||||||
|
tpred2z = pickparam.get('tpred2z')
|
||||||
|
tdet2z = pickparam.get('tdet2z')
|
||||||
Parorder = pickparam.get('Parorder')
|
Parorder = pickparam.get('Parorder')
|
||||||
addnoise = pickparam.get('addnoise')
|
addnoise = pickparam.get('addnoise')
|
||||||
Precalcwin = pickparam.get('Precalcwin')
|
Precalcwin = pickparam.get('Precalcwin')
|
||||||
@ -489,7 +491,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
|||||||
elif algoP == 'ARZ':
|
elif algoP == 'ARZ':
|
||||||
# calculate ARZ-CF using subclass ARZcf of class
|
# calculate ARZ-CF using subclass ARZcf of class
|
||||||
# CharcteristicFunction
|
# CharcteristicFunction
|
||||||
cf2 = ARZcf(z_copy, cuttimes2, tpred1z, Parorder, tdet1z,
|
cf2 = ARZcf(z_copy, cuttimes2, tpred2z, Parorder, tdet2z,
|
||||||
addnoise) # instance of ARZcf
|
addnoise) # instance of ARZcf
|
||||||
##############################################################
|
##############################################################
|
||||||
# get refined onset time from CF2 using class Picker
|
# get refined onset time from CF2 using class Picker
|
||||||
|
Loading…
Reference in New Issue
Block a user