From 3f87fa5aba15605cc6eb91f1f50db803c5eef324 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk>
Date: Sat, 22 Jan 2022 13:42:02 +0000
Subject: [PATCH] reduce min_distance for trap identification

---
 aliby/tile/traps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aliby/tile/traps.py b/aliby/tile/traps.py
index 3fbc95c8..76de5c07 100644
--- a/aliby/tile/traps.py
+++ b/aliby/tile/traps.py
@@ -184,7 +184,7 @@ def identify_trap_locations(
 
     coordinates = feature.peak_local_max(
         transform.rescale(matched, 1 / downscale),
-        min_distance=int(trap_template.shape[0] * 0.80),
+        min_distance=int(trap_template.shape[0] * 0.60),
         exclude_border=(trap_size // 3),
     )
     return coordinates
-- 
GitLab