Sky flats (pyobs.utils.skyflats)
FlatFielder
Scheduler
Sky flat pointings (pyobs.utils.skyflats.pointing)
TODO: write docs
SkyFlatsBasePointing
- class SkyFlatsBasePointing(vfs: 'VirtualFileSystem' | Dict[str, Any] | None = None, comm: Comm | Dict[str, Any] | None = None, timezone: str | datetime.tzinfo = 'utc', location: str | Dict[str, Any] | EarthLocation | None = None, observer: Observer | None = None, **kwargs: Any)
Base class for flat poinings.
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.
SkyFlatsStaticPointing
- class SkyFlatsStaticPointing(initialized: bool = False, *args: Any, **kwargs: Any)
Static flat pointing.
Inits new static pointing for sky flats.
- Parameters:
initialized – If False, telescope does not move at all.