diff --git a/src/openflexure_microscope_server/things/autofocus.py b/src/openflexure_microscope_server/things/autofocus.py index 1adb81bf..c6faf8e7 100644 --- a/src/openflexure_microscope_server/things/autofocus.py +++ b/src/openflexure_microscope_server/things/autofocus.py @@ -151,6 +151,7 @@ class AutofocusThing(Thing): Actions here involve moving a stage in z, and using the camera to either capture images (generally, z-stacking) and measuring the sharpness of the field of view to assess focus (autofocus and testing the success of a z-stack)""" + @thing_action def fast_autofocus( self, @@ -209,7 +210,11 @@ class AutofocusThing(Thing): @thing_action def looping_autofocus( - self, stage: Stage, sharpness_monitor: SharpnessMonitorDep, dz=2000, start="centre" + self, + stage: Stage, + sharpness_monitor: SharpnessMonitorDep, + dz=2000, + start="centre", ): """Repeatedly autofocus the stage until it looks focused. diff --git a/webapp/src/components/tabContentComponents/slideScanContent.vue b/webapp/src/components/tabContentComponents/slideScanContent.vue index 8a152fc8..4c4d4643 100644 --- a/webapp/src/components/tabContentComponents/slideScanContent.vue +++ b/webapp/src/components/tabContentComponents/slideScanContent.vue @@ -24,6 +24,20 @@ label="Autofocus range (steps)" /> +