fixed forgotten symmetry property for average orientation.
This commit is contained in:
parent
4c51c15795
commit
30a481f152
|
@ -966,7 +966,8 @@ class Orientation:
|
||||||
|
|
||||||
eig, vec = np.linalg.eig(M/N)
|
eig, vec = np.linalg.eig(M/N)
|
||||||
|
|
||||||
return Orientation(quaternion = Quaternion(quatArray = np.real(vec.T[eig.argmax()])))
|
return Orientation(quaternion = Quaternion(quatArray = np.real(vec.T[eig.argmax()])),
|
||||||
|
symmetry = reference.symmetry.lattice)
|
||||||
|
|
||||||
|
|
||||||
def related(self,
|
def related(self,
|
||||||
|
|
Loading…
Reference in New Issue