using cubic symmetry as default for orientation relationships
This commit is contained in:
parent
ad14f52756
commit
1c68cf1fd3
|
@ -993,7 +993,7 @@ class Orientation:
|
||||||
def related(self,
|
def related(self,
|
||||||
relationModel,
|
relationModel,
|
||||||
direction,
|
direction,
|
||||||
targetSymmetry = None):
|
targetSymmetry = 'cubic'):
|
||||||
"""
|
"""
|
||||||
Orientation relationship
|
Orientation relationship
|
||||||
|
|
||||||
|
@ -1241,4 +1241,4 @@ class Orientation:
|
||||||
|
|
||||||
rot=np.dot(otherMatrix,myMatrix.T)
|
rot=np.dot(otherMatrix,myMatrix.T)
|
||||||
|
|
||||||
return Orientation(matrix=np.dot(rot,self.asMatrix())) # no symmetry information ??
|
return Orientation(matrix=np.dot(rot,self.asMatrix()),symmetry=targetSymmetry)
|
||||||
|
|
Loading…
Reference in New Issue