Merge branch 'autofocus-at-start' into 'v3'
Looping autofocus at the start of the scan See merge request openflexure/openflexure-microscope-server!247
This commit is contained in:
commit
0ac455bf89
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ class SmartScanThing(Thing):
|
|||
try:
|
||||
self._check_background_and_csm_set()
|
||||
self._ongoing_scan_name = self._get_unique_scan_name_and_dir(scan_name)
|
||||
self._autofocus.looping_autofocus(dz=self.autofocus_dz, start="centre")
|
||||
# record starting position so we can return there
|
||||
self._starting_position = self._stage.position
|
||||
self._run_scan()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue