bundles / scipy 1.17.1 / scipy / special / _ufuncs / geterr
cython_function_or_method
scipy.special._ufuncs:geterr
Signature
def geterr ( ) Summary
Get the current way of handling special-function errors.
Returns
err: dictA dictionary with keys "singular", "underflow", "overflow", "slow", "loss", "no_result", "domain", "arg", and "other", whose values are from the strings "ignore", "warn", and "raise". The keys represent possible special-function errors, and the values define how these errors are handled.
Notes
For complete documentation of the types of special-function errors and treatment options, see seterr.
Examples
By default all errors are ignored.import scipy.special as sc for key, value in sorted(sc.geterr().items()): print(f'{key}: {value}')✓
See also
Aliases
-
scipy.special.geterr