Get an orientation from two sets of vectors, one in the sample reference frame and the other in the crystal reference frame. Uses Orientation.from_align_vectors().
Get a misorientation from two sets of vectors, one in each of the two crystal reference frames. Uses Misorientation.from_align_vectors().
I've also added the possibility to pass symmetry to Orientation.from_scipy_rotation() and Misorientation.from_scipy_rotation(). Rotation.from_scipy_rotation() is also updated, so that all these three methods have custom docstrings. I've also made sure these methods return a tuple instead of a list if either of return_rmsd or return_sensitivity are True.
Description of the change
Added two examples to the examples gallery (from PR comments https://github.com/pyxem/orix/pull/401#pullrequestreview-1138061052 and https://github.com/pyxem/orix/pull/401#pullrequestreview-1139428658):
Orientation.from_align_vectors()
.Misorientation.from_align_vectors()
.I've also added the possibility to pass
symmetry
toOrientation.from_scipy_rotation()
andMisorientation.from_scipy_rotation()
.Rotation.from_scipy_rotation()
is also updated, so that all these three methods have custom docstrings. I've also made sure these methods return a tuple instead of a list if either ofreturn_rmsd
orreturn_sensitivity
areTrue
.Progress of the PR
For reviewers
__init__.py
.CHANGELOG.rst
.__credits__
inorix/__init__.py
and in.zenodo.json
.