Merge branch 'rotation-help-polish' into 'development'

slight improvements to help; use a/b instead of a*~b

See merge request damask/DAMASK!439
This commit is contained in:
Sharan Roongta 2021-09-29 08:54:06 +00:00
commit 36eb50ff52
1 changed files with 6 additions and 6 deletions

View File

@ -120,7 +120,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation other : Rotation
Rotation to check for equality. Rotation to check for inequality.
""" """
return np.logical_not(self==other) return np.logical_not(self==other)
@ -276,7 +276,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : damask.Rotation of shape (self.shape) other : damask.Rotation of shape (self.shape)
Rotation to inverse composition. Rotation to invert for composition.
Returns Returns
------- -------
@ -296,7 +296,7 @@ class Rotation:
Parameters Parameters
---------- ----------
other : Rotation of shape (self.shape) other : Rotation of shape (self.shape)
Rotation to inverse composition. Rotation to invert for composition.
""" """
return self/other return self/other
@ -468,7 +468,7 @@ class Rotation:
Misorientation. Misorientation.
""" """
return other*~self return other/self
################################################################################################ ################################################################################################