Source code for sofia_redux.scan.channels.rotating.rotating

# Licensed under a 3-clause BSD style license - see LICENSE.rst

from abc import ABC, abstractmethod

__all__ = ['Rotating']


[docs] class Rotating(ABC): # pragma: no cover
[docs] @abstractmethod def get_rotation(self): """ Return the channel rotation. Returns ------- angle : units.Quantity """ pass
[docs] @abstractmethod def rotate(self, angle): """ Rotate the channels. Parameters ---------- angle : units.Quantity The angle to rotate by. Returns ------- None """ pass