auto_uncertainties.exceptions
Exceptions
An exception for when the standard deviation is negative. |
|
An exception for when an array of |
|
A warning for when an array of |
|
A warning that is raised when the equality check is performed on two |
|
An exception that is raised when the equality check is performed on two |
Functions
|
Set whether |
|
Set whether |
|
Set the comparison relative tolerance for error when performing equality |
Module Contents
- exception auto_uncertainties.exceptions.NegativeStdDevError[source]
Bases:
Exception
An exception for when the standard deviation is negative.
- exception auto_uncertainties.exceptions.DowncastError[source]
Bases:
RuntimeError
An exception for when an array of
Uncertaintyobjects is downcast to a NumPyndarray.
- exception auto_uncertainties.exceptions.DowncastWarning[source]
Bases:
RuntimeWarning
A warning for when an array of
Uncertaintyobjects is downcast to a NumPyndarray.
- exception auto_uncertainties.exceptions.EqualityWarning[source]
Bases:
RuntimeWarning
A warning that is raised when the equality check is performed on two
Uncertaintyobjects with identical central values, but different standard deviations.
- exception auto_uncertainties.exceptions.EqualityError[source]
Bases:
RuntimeError
An exception that is raised when the equality check is performed on two
Uncertaintyobjects with identical central values, but different standard deviations.
- auto_uncertainties.exceptions.set_equality_error(val)[source]
Set whether
EqualityErrorshould be raised instead of a warning when performing an equality check between twoUncertaintyobjects with identical central values, but different standard deviations.- Parameters:
val (bool)
- Return type:
None
- auto_uncertainties.exceptions.set_downcast_error(val)[source]
Set whether
DowncastErrorshould be raised when uncertainty is stripped.- Parameters:
val (bool)
- Return type:
None