Skip to content

Commit 00aa850

Browse files
authored
v1.39.9
version 1.39.9
2 parents 4aed735 + 96268cf commit 00aa850

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

pyobs/modules/focus/focusseries.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,16 @@ async def _auto_focus(self, count: int, step: float, exposure_time: float, **kwa
193193
log.info("Downloading image...")
194194
image = await self.vfs.read_image(filename)
195195

196+
# get actual focus
197+
if self._offset:
198+
actual_focus = await focuser.get_focus_offset()
199+
else:
200+
actual_focus = await focuser.get_focus()
201+
196202
# analyse
197203
log.info("Analysing picture...")
198204
try:
199-
await self._series.analyse_image(image, foc)
205+
await self._series.analyse_image(image, actual_focus)
200206
except:
201207
# do nothing...
202208
log.info("Could not analyse image.")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyobs-core"
3-
version = "1.39.8"
3+
version = "1.39.9"
44
description = "robotic telescope software"
55
authors = [{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" }]
66
requires-python = ">=3.11"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)