[minor] changes/testing threshfactor
This commit is contained in:
parent
869ede96a9
commit
704a45f845
3
PyLoT.py
3
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):
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user