Warning

This is a review version of the documentation for PyOpenSci submission.

errorHandling#

exception BaseDistributionError[source]#

Bases: Exception

Base class for distribution-related errors.

exception DegreeOfFreedomError[source]#

Bases: BaseDistributionError

Raised when the degree of freedom is a float instead of int.

exception InvalidUniformParameters[source]#

Bases: BaseDistributionError

Raised when the parameters of uniform distributions are not valid.

exception NegativeAlphaError[source]#

Bases: BaseDistributionError

Raised when the alpha parameter value is negative.

exception NegativeAmplitudeError[source]#

Bases: BaseDistributionError

Raised when the amplitude is negative.

exception NegativeBetaError[source]#

Bases: BaseDistributionError

Raised when the beta parameter value is negative.

exception NegativeRateError[source]#

Bases: BaseDistributionError

Raised when the value of rate parameter is negative.

exception NegativeScaleError(parameter='scale')[source]#

Bases: BaseDistributionError

Raised when the value of scale parameter is negative.

exception NegativeShapeError[source]#

Bases: BaseDistributionError

Raised when the value of shape parameter is negative.

exception NegativeStandardDeviationError[source]#

Bases: BaseDistributionError

Raised when the standard deviation is negative.

exception NegativeVarianceError[source]#

Bases: BaseDistributionError

Raised when the variance value is negative.

exception XOutOfRange[source]#

Bases: BaseDistributionError

Raised when the x value is out of range for the distribution.