Source code for pyobs.interfaces.IOffsetsAltAz

from abc import ABCMeta, abstractmethod
from typing import Tuple, Any

from .interface import Interface

class IOffsetsAltAz(Interface, metaclass=ABCMeta):
    """The module supports Alt/Az offsets, usually combined with :class:`~pyobs.interfaces.ITelescope` and

    __module__ = "pyobs.interfaces"

[docs] @abstractmethod async def set_offsets_altaz(self, dalt: float, daz: float, **kwargs: Any) -> None: """Move an Alt/Az offset. Args: dalt: Altitude offset in degrees. daz: Azimuth offset in degrees. Raises: MoveError: If device could not be moved. """ ...
[docs] @abstractmethod async def get_offsets_altaz(self, **kwargs: Any) -> Tuple[float, float]: """Get Alt/Az offset. Returns: Tuple with alt and az offsets. """ ...
__all__ = ["IOffsetsAltAz"]