astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Astropy Core Package Utilities (`astropy.utils`) »
- where_not_allclose

# where_not_allclose

astropy.utils.diff.where_not_allclose(a, b, rtol=1e-05, atol=1e-08)

  A version of `numpy.allclose()` that returns the indices where the two arrays differ, instead of just a boolean value.

  Parameters:
    a, b numpy:array_like

      Input arrays to compare.

    rtol, atol `python:float`

      Relative and absolute tolerances as accepted by `numpy.allclose()`.

  Returns:
    idx `python:tuple` of `array`

      Indices where the two arrays differ.