From 4ea3b5b6238ecc81bd781f8699fa877b249d18b7 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Thu, 30 May 2024 11:42:25 +0000 Subject: [PATCH] Increase minimum fraction coverage - makes stitching much more reliable --- src/openflexure_microscope_server/things/smart_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index 8ede04ca..600bab4a 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -217,7 +217,7 @@ class BackgroundDetectThing(Thing): @thing_property def fraction(self) -> float: """How much of the image needs to be not background to label as sample""" - return self.thing_settings.get("fraction", 7) + return self.thing_settings.get("fraction", 25) @fraction.setter def fraction(self, value: float) -> None: