From 704a45f8453e2e324d7555d56a56a3d993e91e4e Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 12 Jul 2018 09:33:52 +0200 Subject: [PATCH] [minor] changes/testing threshfactor --- PyLoT.py | 3 ++- pylot/core/pick/picker.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PyLoT.py b/PyLoT.py index 8fa43a6f..fdb41991 100755 --- a/PyLoT.py +++ b/PyLoT.py @@ -339,7 +339,7 @@ class MainWindow(QMainWindow): "Ctrl+A", openEventsIcon, "Load event data automatically " - "for for all events.") + "for all events.") self.openEventsAutoAction.setEnabled(False) self.openEventsAutoAction.setData(None) @@ -900,6 +900,7 @@ class MainWindow(QMainWindow): return if self.get_current_event().pylot_picks: self.refreshEvents() + self.fill_eventbox() self.setDirty(True) def load_data(self, fname=None, loc=False, draw=True, event=None, overwrite=False): diff --git a/pylot/core/pick/picker.py b/pylot/core/pick/picker.py index 748dce99..952c47db 100644 --- a/pylot/core/pick/picker.py +++ b/pylot/core/pick/picker.py @@ -198,7 +198,7 @@ class AICPicker(AutoPicker): # MP MP testing threshold thresh_hit = False - thresh_factor = 0.6 + thresh_factor = 0.7 thresh = thresh_factor * cf[icfmax] for index, sample in enumerate(cf): if sample >= thresh: