From 752ef3a80c4c5c7a3e0cb28945201dac01a23367 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 17 Feb 2026 02:07:06 +0000 Subject: [PATCH] Reduce the blur for a given z movement in simulation, to improve autofocus. --- src/openflexure_microscope_server/things/camera/simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/things/camera/simulation.py b/src/openflexure_microscope_server/things/camera/simulation.py index a374f764..4735eede 100644 --- a/src/openflexure_microscope_server/things/camera/simulation.py +++ b/src/openflexure_microscope_server/things/camera/simulation.py @@ -36,7 +36,7 @@ LOGGER = logging.getLogger(__name__) # The ratio between "motor" steps and pixels in (x, y, z) # higher related to a faster movement -RATIO = (2, 2, 0.2) +RATIO = (2, 2, 0.07) # Some colour variation, for bg detect. BG_COLOR = [220, 215, 217]