Source code for pyobs.interfaces.IFitsHeaderAfter
from __future__ import annotations
from abc import ABCMeta, abstractmethod
from typing import Any
from .interface import Interface
class IFitsHeaderAfter(Interface, metaclass=ABCMeta):
"""The module provides some additional header entries for FITS headers after some event (usually the end of the
exposure)."""
__module__ = "pyobs.interfaces"
[docs]
@abstractmethod
async def get_fits_header_after(
self, namespaces: list[str] | None = 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__ = ["IFitsHeaderAfter"]