[minor] changes/testing threshfactor

This commit is contained in:
Marcel Paffrath 2018-07-12 09:33:52 +02:00
parent 869ede96a9
commit 704a45f845
2 changed files with 3 additions and 2 deletions

View File

@ -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):

View File

@ -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: