quantity_allclose

astropy.tests.helper.quantity_allclose(a, b, rtol=1e-05, atol=None, **kwargs)[source] [edit on github]

Returns True if two arrays are element-wise equal within a tolerance.

This is a Quantity-aware version of numpy.allclose().