openflexure-microscope-server/openflexure_microscope/api/default_extensions
Richard Bowman 333b52aa9b background detect and better focus handling
The primary change here is that there's now an option
to skip autofocus if the background detect plugin says
the current image is background.

I have also overhauled the way it picks the next Z position
based on Joe's code; instead of just using the last point, it will
pick the closest point where we have a successful autofocus
recorded.  This will usually be the last point, except for raster
scans where it neatly reproduces the behaviour of the old code
but without needing to treat it as a special case (when we jump
back to the start of a line, it will use the z position of the start
of the previous line, rather than the end of the previous line).

This does represent a minor change to previous behaviour, but
it should not break anything that isn't already broken, i.e. it might
cause slightly odd behaviour if autofocus gives random results -
but probably indistinguishable from the current behaviour.
2022-04-06 23:15:25 +01:00
..
picamera_autocalibrate fixed typing error 2021-04-27 20:17:07 +01:00
__init__.py Integrated CSMExtension 2020-12-04 16:05:39 +00:00
autofocus.py Code formatting fixes from black 2022-01-13 14:47:38 +00:00
autostorage.py Fixed get_locations method reference 2020-11-30 16:59:56 +00:00
camera_stage_mapping.py Improve errors with better exception 2021-05-05 10:05:47 +01:00
scan.py background detect and better focus handling 2022-04-06 23:15:25 +01:00
zip_builder.py Typing fix 2021-07-25 03:38:20 +01:00