[bugfix] add default value to jackfactor

if not done, autoPyLoT will raise an error on old pylot.in files (or projects with old parameter obj.)
This commit is contained in:
2017-08-29 15:23:25 +02:00
parent 89dc390125
commit 881cc39e0e
2 changed files with 1 additions and 10 deletions

View File

@@ -803,7 +803,7 @@ def checksignallength(X, pick, TSNR, minsiglength, nfac, minpercent, iplot=0, fi
return returnflag
def checkPonsets(pickdic, dttolerance, jackfactor, iplot=0, fig_dict=None):
def checkPonsets(pickdic, dttolerance, jackfactor=5, iplot=0, fig_dict=None):
'''
Function to check statistics of P-onset times: Control deviation from
median (maximum adjusted deviation = dttolerance) and apply pseudo-