[bugfix] AIC-CF was smoothed using wrong parameter
aictsmooth was unused in pylot, instead the tsmoothP parameter was used two times. aictsmooth should smooth the AIC-CF during the determination of the preliminary onset. tsmoothP is used to smooth the HOS-CF during pragmatic picking.
This commit is contained in:
parent
f21fc7bb37
commit
9e1af65af7
@ -131,6 +131,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
|||||||
bpz1 = pickparam.get('bpz1')
|
bpz1 = pickparam.get('bpz1')
|
||||||
bpz2 = pickparam.get('bpz2')
|
bpz2 = pickparam.get('bpz2')
|
||||||
pickwinP = pickparam.get('pickwinP')
|
pickwinP = pickparam.get('pickwinP')
|
||||||
|
aictsmoothP = pickparam.get('aictsmooth')
|
||||||
tsmoothP = pickparam.get('tsmoothP')
|
tsmoothP = pickparam.get('tsmoothP')
|
||||||
ausP = pickparam.get('ausP')
|
ausP = pickparam.get('ausP')
|
||||||
nfacP = pickparam.get('nfacP')
|
nfacP = pickparam.get('nfacP')
|
||||||
@ -323,7 +324,7 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
|||||||
fig = fig_dict[key]
|
fig = fig_dict[key]
|
||||||
else:
|
else:
|
||||||
fig = None
|
fig = None
|
||||||
aicpick = AICPicker(aiccf, tsnrz, pickwinP, iplot, None, tsmoothP, fig=fig)
|
aicpick = AICPicker(aiccf, tsnrz, pickwinP, iplot, None, aictsmoothP, fig=fig)
|
||||||
# add pstart and pstop to aic plot
|
# add pstart and pstop to aic plot
|
||||||
if fig:
|
if fig:
|
||||||
for ax in fig.axes:
|
for ax in fig.axes:
|
||||||
|
Loading…
Reference in New Issue
Block a user