auto_uncertainties.util
Attributes
Functions
A decorator to ignore runtime warnings. |
|
A decorator to ignore |
|
|
Raise a deprecation warning for a decorated function. |
|
|
|
|
|
|
|
Module Contents
- auto_uncertainties.util.ignore_runtime_warnings(f)[source]
A decorator to ignore runtime warnings.
- Parameters:
f – The function to wrap
- Returns:
The wrapped function
- auto_uncertainties.util.ignore_numpy_downcast_warnings(f)[source]
A decorator to ignore
DowncastWarning.- Parameters:
f – The function to wrap
- Returns:
The wrapped function
- auto_uncertainties.util.deprecated(reason='', category=DeprecationWarning)[source]
Raise a deprecation warning for a decorated function.
- Parameters:
reason – Why the deprecation is being issued (Default =
'')category – The type of warning to issue (Default =
DeprecationWarning)