Roofs (pyobs.modules.roof)
Modules for roofs. TODO: write doc
BaseDome
- class BaseDome(**kwargs: Any)
-
Base class for domes.
Initialize a new base dome.
- async get_fits_header_before(namespaces: Optional[List[str]] = None, **kwargs: Any) Dict[str, Tuple[Any, str]] [source]
Returns FITS header for the current status of this module.
- Parameters:
namespaces – If given, only return FITS headers for the given namespaces.
- Returns:
Dictionary containing FITS headers.
BaseRoof
- class BaseRoof(**kwargs: Any)
Bases:
WeatherAwareMixin
,MotionStatusMixin
,IRoof
,IFitsHeaderBefore
,Module
Base class for roofs.
Initialize a new base roof.
- async get_fits_header_before(namespaces: Optional[List[str]] = None, **kwargs: Any) Dict[str, Tuple[Any, str]] [source]
Returns FITS header for the current status of this module.
- Parameters:
namespaces – If given, only return FITS headers for the given namespaces.
- Returns:
Dictionary containing FITS headers.
DummyRoof
- class DummyRoof(**kwargs: Any)
-
A dummy camera for testing.
Creates a new dummy root.
- async init(**kwargs: Any) None [source]
Open the roof.
- Raises:
AcquireLockFailed – If current motion could not be aborted.