Source code for pyobs.interfaces.IPointingHGS

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

from .interface import Interface


class IPointingHGS(Interface, metaclass=ABCMeta):
    """The module can move to Mu/Psi coordinates, usually combined with :class:`~pyobs.interfaces.ITelescope`."""

    __module__ = "pyobs.interfaces"

[docs] @abstractmethod async def move_hgs_lon_lat(self, lon: float, lat: float, **kwargs: Any) -> None: """Moves on given coordinates. Args: lon: Longitude in deg to track. lat: Latitude in deg to track. Raises: MoveError: If device could not be moved. """ ...
[docs] @abstractmethod async def get_hgs_lon_lat(self, **kwargs: Any) -> Tuple[float, float]: """Returns current longitude and latitude position. Returns: Tuple of current lon, lat in degrees. """ ...
__all__ = ["IPointingHGS"]