(self, i)
return not np.allclose(self.rots[i], np.zeros(3), rtol=0.0, atol=1.0e-15)
Returns True if rotation is not (close to) identity.
Returns True if rotation is not (close to) identity.
Returns True if rotation is not ( close to ) identity .
def do_rot(self, i):
        """Returns True if rotation is not (close to) identity."""
        return not np.allclose(self.rots[i], np.zeros(3), rtol=0.0, atol=1.0e-15)
def do_rot ( self , i ) : return not np . allclose ( self . rots [ i ] , np . zeros ( 3 ) , rtol = 0.0 , atol = 1.0e-15 )