ffsim.approx_eq¶
- ffsim.approx_eq(obj, other, rtol=1e-05, atol=1e-08)[source]¶
Return whether two objects are approximately equal.
See the documentation of
np.isclosefor the interpretation of the tolerance parametersrtolandatol.
Return whether two objects are approximately equal.
See the documentation of np.isclose for the interpretation
of the tolerance parameters rtol and atol.