From 00321d761d55eba7776e533d6d6ff8c8062a7626 Mon Sep 17 00:00:00 2001 From: jaknapper Date: Thu, 19 Jun 2025 14:57:27 +0100 Subject: [PATCH] Update docstring for nearby focus site --- src/openflexure_microscope_server/scan_planners.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/openflexure_microscope_server/scan_planners.py b/src/openflexure_microscope_server/scan_planners.py index 8c261a63..780b1199 100644 --- a/src/openflexure_microscope_server/scan_planners.py +++ b/src/openflexure_microscope_server/scan_planners.py @@ -185,9 +185,8 @@ class ScanPlanner: def select_nearby_focus_site(self, xy_pos: XYPos) -> Optional[XYZPos]: """ - Return the xyz position of the closest site where focus was achieved - to the input xy_position, with the most recently taken image returned in - the case of a tie + Return the xyz position of the nearby site with the lowest z position. + Nearby is defined as within 1.6 times the distance to the closest neighbour. Returns None if there if no focussed locations are present """