fixes: real sky tested
This commit is contained in:
@@ -125,6 +125,10 @@ def focussing_app(parser, init_seq_func, set_focus_func, get_image_func):
|
||||
pt.with_stem(pt.stem + "_rough")
|
||||
)
|
||||
|
||||
# rough estimation: be sure that only a single
|
||||
# acquisition per focus value
|
||||
seq_rough_kwds["acq_per_value"] = 1
|
||||
|
||||
result = obsutil.focussingSequence(
|
||||
[focus_start, focus_stop],
|
||||
init_seq_func,
|
||||
@@ -141,7 +145,7 @@ def focussing_app(parser, init_seq_func, set_focus_func, get_image_func):
|
||||
return result["ret_code"]
|
||||
|
||||
# compute precise range start and stop values
|
||||
r = args.num * focus_step / 2.0
|
||||
r = (args.num-1) * focus_step / 2.0
|
||||
focus_start = result["focus_value"] - r
|
||||
focus_stop = result["focus_value"] + r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user