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.SpecificationConflict[source]#
Bases:
AstroPhotErrorRaised when the inputs to an object are conflicting and/or ambiguous
astrophot.errors.fit module#
- exception astrophot.errors.fit.OptimizeStopFail[source]#
Bases:
AstroPhotErrorRaised at any point to stop optimization process due to failure.
- exception astrophot.errors.fit.OptimizeStopSuccess[source]#
Bases:
AstroPhotErrorRaised at any point to stop optimization process due to success condition.
astrophot.errors.image module#
- exception astrophot.errors.image.InvalidData[source]#
Bases:
AstroPhotErrorRaised when the data provided to an image is invalid or cannot be processed.
- exception astrophot.errors.image.InvalidImage[source]#
Bases:
AstroPhotErrorRaised when an image object cannot be used as given.
- exception astrophot.errors.image.InvalidWindow[source]#
Bases:
AstroPhotErrorRaised whenever a window is misspecified
astrophot.errors.models module#
- 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.
Module contents#
- exception astrophot.errors.AstroPhotError[source]#
Bases:
ExceptionBase exception for all AstroPhot processes.
- exception astrophot.errors.InvalidData[source]#
Bases:
AstroPhotErrorRaised when the data provided to an image is invalid or cannot be processed.
- exception astrophot.errors.InvalidImage[source]#
Bases:
AstroPhotErrorRaised when an image object cannot be used as given.
- exception astrophot.errors.InvalidTarget[source]#
Bases:
AstroPhotErrorCatches when a target object is assigned incorrectly.
- exception astrophot.errors.InvalidWindow[source]#
Bases:
AstroPhotErrorRaised whenever a window is misspecified
- exception astrophot.errors.OptimizeStopFail[source]#
Bases:
AstroPhotErrorRaised at any point to stop optimization process due to failure.
- exception astrophot.errors.OptimizeStopSuccess[source]#
Bases:
AstroPhotErrorRaised at any point to stop optimization process due to success condition.
- exception astrophot.errors.SpecificationConflict[source]#
Bases:
AstroPhotErrorRaised when the inputs to an object are conflicting and/or ambiguous
- exception astrophot.errors.UnrecognizedModel[source]#
Bases:
AstroPhotErrorRaised when the user tries to invoke a model that does not exist.