Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pyobs/modules/focus/focusseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,16 @@ async def _auto_focus(self, count: int, step: float, exposure_time: float, **kwa
log.info("Downloading image...")
image = await self.vfs.read_image(filename)

# get actual focus
if self._offset:
actual_focus = await focuser.get_focus_offset()
else:
actual_focus = await focuser.get_focus()

# analyse
log.info("Analysing picture...")
try:
await self._series.analyse_image(image, foc)
await self._series.analyse_image(image, actual_focus)
except:
# do nothing...
log.info("Could not analyse image.")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pyobs-core"
version = "1.39.8"
version = "1.39.9"
description = "robotic telescope software"
authors = [{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" }]
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading