astrophot.errors package
Submodules
astrophot.errors.base module
- exception astrophot.errors.base.AstroPhotError[source]
Bases:
ExceptionBase exception for all AstroPhot processes.
- exception astrophot.errors.base.NameNotAllowed[source]
Bases:
AstroPhotErrorUsed for invalid names of AstroPhot objects
- exception astrophot.errors.base.SpecificationConflict[source]
Bases:
AstroPhotErrorRaised when the inputs to an object are conflicting and/or ambiguous
astrophot.errors.fit module
- exception astrophot.errors.fit.OptimizeStop[source]
Bases:
AstroPhotErrorRaised at any point to stop optimization process.
astrophot.errors.image module
- exception astrophot.errors.image.ConflicingWCS[source]
Bases:
InvalidWindowRaised when windows are compared and have WCS prescriptions which do not agree
- exception astrophot.errors.image.InvalidData[source]
Bases:
AstroPhotErrorRaised when an image object can’t determine the data it is holding.
- exception astrophot.errors.image.InvalidImage[source]
Bases:
AstroPhotErrorRaised when an image object cannot be used as given.
- exception astrophot.errors.image.InvalidWCS[source]
Bases:
AstroPhotErrorRaised when the WCS is not appropriate as given.
- exception astrophot.errors.image.InvalidWindow[source]
Bases:
AstroPhotErrorRaised whenever a window is misspecified
astrophot.errors.models module
- exception astrophot.errors.models.InvalidModel[source]
Bases:
AstroPhotErrorCatches when a model object is inapropriate for this instance.
- exception astrophot.errors.models.InvalidTarget[source]
Bases:
AstroPhotErrorCatches when a target object is assigned incorrectly.
- exception astrophot.errors.models.UnrecognizedModel[source]
Bases:
AstroPhotErrorRaised when the user tries to invoke a model that does not exist.
astrophot.errors.param module
- exception astrophot.errors.param.InvalidParameter[source]
Bases:
AstroPhotErrorCatches when a parameter object is assigned incorrectly.