diff --git a/QtPyLoT.py b/QtPyLoT.py index ca47bf07..624e8983 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -1925,15 +1925,6 @@ class MainWindow(QMainWindow): self.apw.insert_log_widget(self.listWidget) self.apw.refresh_tooltips() - # self.logDockWidget = QDockWidget("AutoPickLog", self) - # self.logDockWidget.setObjectName("LogDockWidget") - # self.logDockWidget.setAllowedAreas( - # Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea) - # self.logDockWidget.setWidget(self.listWidget) - # self.addDockWidget(Qt.LeftDockWidgetArea, self.logDockWidget) - # self.addListItem('Loading default values from PyLoT-input file %s' - # % self.infile) - self.apw.start.connect(self.start_autopick) self.apw.show() diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 049d2d44..006f9837 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -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-