astrophot.errors package

Submodules

astrophot.errors.base module

exception astrophot.errors.base.AstroPhotError[source]

Bases: Exception

Base exception for all AstroPhot processes.

exception astrophot.errors.base.NameNotAllowed[source]

Bases: AstroPhotError

Used for invalid names of AstroPhot objects

exception astrophot.errors.base.SpecificationConflict[source]

Bases: AstroPhotError

Raised when the inputs to an object are conflicting and/or ambiguous

astrophot.errors.fit module

exception astrophot.errors.fit.OptimizeStop[source]

Bases: AstroPhotError

Raised at any point to stop optimization process.

astrophot.errors.image module

exception astrophot.errors.image.ConflicingWCS[source]

Bases: InvalidWindow

Raised when windows are compared and have WCS prescriptions which do not agree

exception astrophot.errors.image.InvalidData[source]

Bases: AstroPhotError

Raised when an image object can’t determine the data it is holding.

exception astrophot.errors.image.InvalidImage[source]

Bases: AstroPhotError

Raised when an image object cannot be used as given.

exception astrophot.errors.image.InvalidWCS[source]

Bases: AstroPhotError

Raised when the WCS is not appropriate as given.

exception astrophot.errors.image.InvalidWindow[source]

Bases: AstroPhotError

Raised whenever a window is misspecified

astrophot.errors.models module

exception astrophot.errors.models.InvalidModel[source]

Bases: AstroPhotError

Catches when a model object is inapropriate for this instance.

exception astrophot.errors.models.InvalidTarget[source]

Bases: AstroPhotError

Catches when a target object is assigned incorrectly.

exception astrophot.errors.models.UnrecognizedModel[source]

Bases: AstroPhotError

Raised when the user tries to invoke a model that does not exist.

astrophot.errors.param module

exception astrophot.errors.param.InvalidParameter[source]

Bases: AstroPhotError

Catches when a parameter object is assigned incorrectly.

Module contents