def test_disorientation360(self, lattice): R_1 = Orientation(Rotation(), lattice) R_2 = Orientation(Rotation.from_Eulers([360, 0, 0], degrees=True), lattice) assert np.allclose(R_1.disorientation(R_2).as_matrix(), np.eye(3))
def test_disorientation360(self, lattice): o_1 = Orientation(Rotation(), lattice) o_2 = Orientation.from_Euler_angles(lattice=lattice, phi=[360, 0, 0], degrees=True) assert np.allclose((o_1.disorientation(o_2)).as_matrix(), np.eye(3))
def test_disorientation360(self, family): o_1 = Orientation(Rotation(), family=family) o_2 = Orientation.from_Euler_angles(family=family, phi=[360, 0, 0], degrees=True) assert np.allclose((o_1.disorientation(o_2)).as_matrix(), np.eye(3))