synthesizer.exceptions

The definitions for Synthesizer specific errors.

Exceptions

GridError(*args)

Generic exception class for anything to with grid issues, such as particles not lying within a grid, missing axes etc.

InconsistentAddition(*args)

Generic exception class for when adding two objects is impossible.

InconsistentArguments(*args)

Generic exception class for inconsistent combinations of arguments.

InconsistentCoordinates(*args)

Generic exception class for when coordinates are inconsistent.

InconsistentParameter(*args)

Generic exception class for inconsistent parameters.

InconsistentWavelengths(*args)

Exception class for when array dimensions don't

IncorrectUnits(*args)

Generic exception class for when incorrect units are provided.

MissingArgument(*args)

Generic exception class for when an argument is missing.

MissingAttribute(*args)

Generic exception class for when a required attribute is missing on an object.

MissingImage(*args)

Exception class for when an image has not yet been made

MissingSpectraType(*args)

Exception class for when an SPS grid is missing

MissingUnits(*args)

Generic exception class for when expected units aren't provided.

SVOFilterNotFound(*args)

Exception class for when an SVO filter code does not match one in the database.

SVOInaccessible(*args)

Generic exception class for when SVO is inaccessible.

UnimplementedFunctionality(*args)

Generic exception class for functionality not yet implemented.

UnknownImageType(*args)

Generic exception class for functionality not yet implemented.

UnmetDependency(*args)

Generic exception class for anything to do with not having specific packages not mentioned in the requirements.

UnrecognisedOption(*args)

Generic exception class for when a string argument is not a recognised option.

WavelengthOutOfRange(*args)

Exception class for when a wavelength is not accessible to Filters in a FilterCollection.