UT3Variations.allclose#
- t3toolbox.uniform_frame_variations_format.UT3Variations.allclose(other, rtol=1e-09, atol=0.0)#
def allclose(self, other: 'UT3Variations', rtol: float = 1e-9, atol: float = 0.0) -> NDArray: # bool array, stack
True(per stack element) ifothermatchesselfon the real (masked) content.The comparison is
||self - other|| <= atol + rtol * ||other||, the corewise (Euclidean) norm reduced over the non-stack axes – the leading mode indexdand the core axes – keeping the stack (reduce with.all()for a single verdict).- Parameters:
other (UT3Variations)
rtol (float)
atol (float)
- Return type: