'''
Multispectral Camera Model - Custom Errors
==========================================
* **Description:** Custom error definitions to improve readability and make debugging easier
* **Author:** Tomas Vacek
'''
[docs]
class ImageDataIncompatible(Exception):
""" Image Data isn't incompatible """
[docs]
class IncompatibleBandChoice(Exception):
""" Chosen bands are not compatible with this method """
[docs]
class NoProvidedFilepaths(Exception):
""" No filepaths were provided """
[docs]
class NoImageData(Exception):
""" Provided ImageData instance doesn't contain img_data """
[docs]
class NoProvidedArea(Exception):
""" No area was provided """
[docs]
class InvalidProvidedArea(Exception):
""" Provided area is invalid """
[docs]
class NoDarkFrame(Exception):
""" No embedded dark frame found """
[docs]
class AreaOutsideOfBounds(Exception):
""" The provided area is outside of bounds of the image """
[docs]
class ImageImportFailed(Exception):
""" Image import failed """
[docs]
class WavelengthMismatch(Exception):
""" Provided filter wavelengths do not match with available hyperspectral image data """
[docs]
class NoProvidedFilterSensorUnits(Exception):
""" No provided FilterSensorUnit class instances """