Source code for astrophot.errors.image

from .base import AstroPhotError

__all__ = ("InvalidWindow", "ConflicingWCS", "InvalidData", "InvalidImage", "InvalidWCS")

[docs] class InvalidWindow(AstroPhotError): """ Raised whenever a window is misspecified """ ...
[docs] class ConflicingWCS(InvalidWindow): """ Raised when windows are compared and have WCS prescriptions which do not agree """ ...
[docs] class InvalidData(AstroPhotError): """ Raised when an image object can't determine the data it is holding. """ ...
[docs] class InvalidImage(AstroPhotError): """ Raised when an image object cannot be used as given. """ ...
[docs] class InvalidWCS(AstroPhotError): """ Raised when the WCS is not appropriate as given. """ ...