UT3Frame.allclose#

t3toolbox.uniform_frame_variations_format.UT3Frame.allclose(other, rtol=1e-09, atol=0.0)#
def allclose(self, other: 'UT3Frame', rtol: float = 1e-9, atol: float = 0.0) -> NDArray:  # bool array, stack

True (per stack element) if other represents the same base point as self (gauge-invariant): ||self.to_ut3() - other.to_ut3()|| <= atol + rtol * ||other.to_ut3()|| in the dense Frobenius norm. Reduce with .all() for a single verdict.

Parameters:
  • other (UT3Frame)

  • rtol (float)

  • atol (float)

Return type:

NDArray