From 4c1e9c559b97eeff5eba7576e5107b55b0469a1f Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 6 Mar 2015 15:13:18 +0000 Subject: [PATCH] removed debug printing. --- lib/damask/orientation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/damask/orientation.py b/lib/damask/orientation.py index 397bf4cf6..45f8fdb8d 100644 --- a/lib/damask/orientation.py +++ b/lib/damask/orientation.py @@ -326,12 +326,10 @@ class Quaternion: if type.lower() == 'bunge' or type.lower() == 'zxz': if abs(self.x - self.y) < 1e-8: - print 'q.x approx q.y !!' x = self.w**2 - self.z**2 y = 2.*self.w*self.z angles[0] = math.atan2(y,x) elif abs(self.w - self.z) < 1e-8: - print 'q.w approx q.z !!' x = self.x**2 - self.y**2 y = 2.*self.x*self.y angles[0] = math.atan2(y,x) @@ -417,7 +415,7 @@ class Quaternion: y = - c1 * s2 * s3 + s1 * s2 * c3 z = c1 * c2 * s3 + s1 * c2 * c3 else: - print 'unknown Euler convention' +# print 'unknown Euler convention' w = c1 * c2 * c3 - s1 * s2 * s3 x = s1 * s2 * c3 + c1 * c2 * s3 y = s1 * c2 * c3 + c1 * s2 * s3