Source code for pyobs.interfaces.IOffsetsRaDec

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

from .interface import Interface

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

    __module__ = "pyobs.interfaces"

[docs] @abstractmethod async def set_offsets_radec(self, dra: float, ddec: float, **kwargs: Any) -> None: """Move an RA/Dec offset. Args: dra: RA offset in degrees. ddec: Dec offset in degrees. Raises: MoveError: If telescope cannot be moved. """ ...
[docs] @abstractmethod async def get_offsets_radec(self, **kwargs: Any) -> Tuple[float, float]: """Get RA/Dec offset. Returns: Tuple with RA and Dec offsets. """ ...
__all__ = ["IOffsetsRaDec"]