From e6fe312f853451995e778b4c32304fe15b245541 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 1 Feb 2019 14:04:55 +0100 Subject: [PATCH] Corrected documented value for P (= -1!). Instead of repeating the assignment P=-1 in multiple internal functions, it might be advisable to define a class-wide parameter? --- python/damask/orientation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/orientation.py b/python/damask/orientation.py index 6a2685a2b..29ecaf626 100644 --- a/python/damask/orientation.py +++ b/python/damask/orientation.py @@ -20,7 +20,7 @@ class Quaternion: Convention 4: Euler angle triplets are implemented using the Bunge convention, with the angular ranges as [0, 2π],[0, π],[0, 2π] Convention 5: the rotation angle ω is limited to the interval [0, π] - Convention 6: P = 1 (as default) + Convention 6: P = -1 (as default) w is the real part, (x, y, z) are the imaginary parts.