Source code for pyobs.interfaces.IFitsHeaderBefore
from abc import ABCMeta, abstractmethod
from typing import List, Dict, Tuple, Any, Optional
from .interface import Interface
class IFitsHeaderBefore(Interface, metaclass=ABCMeta):
"""The module provides some additional header entries for FITS headers before some event (usually the start of the
exposure)."""
__module__ = "pyobs.interfaces"
[docs] @abstractmethod
async def get_fits_header_before(
self, namespaces: Optional[List[str]] = None, **kwargs: Any
) -> Dict[str, Tuple[Any, str]]:
"""Returns FITS header for the current status of this module.
Args:
namespaces: If given, only return FITS headers for the given namespaces.
Returns:
Dictionary containing FITS headers.
"""
...
__all__ = ["IFitsHeaderBefore"]