Pointing offsets (pyobs.utils.offsets)
- class ApplyOffsets(log_file: str | None = None, log_absolute: bool = False, **kwargs: Any)
Bases:
ObjectApply offsets from a given image to a given telescope.
This class provides a
VirtualFileSystem, a timezone and a location. From the latter two, an observer object is automatically created.Object also adds support for easily adding threads using the
add_background_task()method as well as a watchdog thread that automatically restarts threads, if requested.Using
add_child_object(), other objects can be (created an) attached to this object, which then automatically handles calls toopen()andclose()on those objects.- Parameters:
vfs – VFS to use (either object or config)
comm – Comm object to use
timezone – Timezone at observatory.
location – Location of observatory, either a name or a dict containing latitude, longitude, and elevation.
- class ApplyRaDecOffsets(min_offset: float = 0.5, max_offset: float = 30, **kwargs: Any)
Bases:
ApplyOffsetsApply offsets from a given image to a given telescope.
Initializes a new ApplyRaDecOffsets.
- Parameters:
min_offset – Min offset in arcsec to move.
max_offset – Max offset in arcsec to move.
- class ApplyAltAzOffsets(min_offset: float = 0.5, max_offset: float = 30, **kwargs: Any)
Bases:
ApplyOffsetsApply offsets from a given image to a given telescope.
Initializes a new ApplyAltAzOffsets.
- Parameters:
min_offset – Min offset in arcsec to move.
max_offset – Max offset in arcsec to move.