From 6fc3b713c96afdb962c2e766f941e22aef49352d 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 14:00:29 +0000 Subject: [PATCH] adjust tolerance of distance betweeen traps --- 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 76de5c07..e275cdcd 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.60), + min_distance=int(trap_template.shape[0] * 0.70), exclude_border=(trap_size // 3), ) return coordinates -- GitLab