misorientation calculation did not always follow convention
- return homomorphed quaternion to ensure that real component is > 0 (equivalent to have axis angle limited to [0, pi]
This commit is contained in:
parent
fdd5b93e7c
commit
481aac7952
|
@ -109,7 +109,7 @@ class Rotation:
|
||||||
|
|
||||||
def misorientation(self,other):
|
def misorientation(self,other):
|
||||||
"""Misorientation"""
|
"""Misorientation"""
|
||||||
return self.__class__(other.quaternion*self.quaternion.conjugated())
|
return self.__class__((other.quaternion*self.quaternion.conjugated()).homomorph())
|
||||||
|
|
||||||
|
|
||||||
def average(self,other):
|
def average(self,other):
|
||||||
|
|
Loading…
Reference in New Issue