Roofs (pyobs.modules.roof)
Modules for roofs. TODO: write doc
BaseDome
- class BaseDome(**kwargs: Any)
Bases:
pyobs.interfaces.IDome
,pyobs.modules.roof.BaseRoof
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:
pyobs.mixins.WeatherAwareMixin
,pyobs.mixins.MotionStatusMixin
,pyobs.interfaces.IRoof
,pyobs.interfaces.IFitsHeaderBefore
,pyobs.modules.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)
Bases:
pyobs.modules.roof.BaseRoof
,pyobs.interfaces.IRoof
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.