Stack settings in GUI
This commit is contained in:
parent
f50580cdd0
commit
6cf99d5096
2 changed files with 20 additions and 1 deletions
|
|
@ -151,6 +151,7 @@ class AutofocusThing(Thing):
|
||||||
Actions here involve moving a stage in z, and using the camera to either
|
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
|
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)"""
|
field of view to assess focus (autofocus and testing the success of a z-stack)"""
|
||||||
|
|
||||||
@thing_action
|
@thing_action
|
||||||
def fast_autofocus(
|
def fast_autofocus(
|
||||||
self,
|
self,
|
||||||
|
|
@ -209,7 +210,11 @@ class AutofocusThing(Thing):
|
||||||
|
|
||||||
@thing_action
|
@thing_action
|
||||||
def looping_autofocus(
|
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.
|
"""Repeatedly autofocus the stage until it looks focused.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,20 @@
|
||||||
label="Autofocus range (steps)"
|
label="Autofocus range (steps)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="uk-margin">
|
||||||
|
<propertyControl
|
||||||
|
thing-name="autofocus"
|
||||||
|
property-name="stack_dz"
|
||||||
|
label="Stack dz (steps)"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="uk-margin">
|
||||||
|
<propertyControl
|
||||||
|
thing-name="autofocus"
|
||||||
|
property-name="stack_images_to_capture"
|
||||||
|
label="Images in stack to capture"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<propertyControl
|
<propertyControl
|
||||||
thing-name="smart_scan"
|
thing-name="smart_scan"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue