Source code for spinifex.exceptions
from __future__ import annotations
[docs]
class SpinifexError(Exception):
"""Base class for errors in spinifex"""
[docs]
class IonexError(SpinifexError):
"""Error in IONEX files."""
[docs]
class TomionError(SpinifexError):
"""Error in TomIon files."""
[docs]
class TimeResolutionError(IonexError):
"""Error in IONEX resolution."""
[docs]
class ArrayShapeError(SpinifexError):
"""Error in array shapes"""