astropy.units
astropy.units.
allclose
Notes
Returns True if two arrays are element-wise equal within a tolerance.
This is a Quantity-aware version of numpy.allclose().
Quantity
numpy.allclose()