bundles / astropy 7.0.1 / astropy / utils / diff / where_not_allclose
function
astropy.utils.diff:where_not_allclose
source: /astropy/utils/diff.py:157
Signature
def where_not_allclose(a, b, rtol = 1e-05, atol = 1e-08)Summary
A version of numpy.allclose that returns the indices where the two arrays differ, instead of just a boolean value.
Parameters
a, b: array-likeInput arrays to compare.
rtol, atol: floatRelative and absolute tolerances as accepted by numpy.allclose.
Returns
idx: tuple of arrayIndices where the two arrays differ.
Aliases
astropy.io.fits.diff.where_not_allclose