openflexure-microscope-server/openflexure_microscope
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
..
api background detect and better focus handling 2022-04-06 23:15:25 +01:00
camera Watch for broken frames using JPEG end bytes, and log error 2020-12-08 18:07:05 +00:00
captures Bump some logging statements to DEBUG 2022-01-13 14:56:18 +00:00
devel Removed old JSONResponse class 2020-11-12 13:50:48 +00:00
rescue Removed unused import 2021-01-07 10:09:43 +00:00
stage Formatting fixes 2021-03-31 09:40:31 +01:00
__init__.py Started basic rescue script 2020-03-03 16:13:21 +00:00
config.py Reverted logging style 2020-11-12 15:45:58 +00:00
json.py Removed deprecated np.float 2021-03-30 17:40:19 +01:00
microscope.py linting and typing fixes 2021-07-19 20:29:13 +01:00
paths.py Static type analysis 2020-11-30 13:36:45 +00:00
utilities.py Fix small typo, fixes #243 2021-11-26 11:07:59 +00:00