This PR adds the ability to project patterns with a varying projection center (PC) from a master pattern with EBSDMasterPattern.get_patterns() by passing an EBSDDetector with multiple PCs, one per rotation. An example is added to the methods' docstring. Solves #503.
The ability to not pass the energy parameter to EBSDMasterPattern.get_patterns() is also added, upon which the highest energy in the master pattern is used. Solves #554.
Finally, by restricting ipywidgets<=7.7 in the docs build, the PyVista plots of master patterns in the docs are displayed. Solves #566.
Description of the change
This PR adds the ability to project patterns with a varying projection center (PC) from a master pattern with
EBSDMasterPattern.get_patterns()
by passing anEBSDDetector
with multiple PCs, one per rotation. An example is added to the methods' docstring. Solves #503.The ability to not pass the
energy
parameter toEBSDMasterPattern.get_patterns()
is also added, upon which the highest energy in the master pattern is used. Solves #554.Finally, by restricting
ipywidgets<=7.7
in the docs build, the PyVista plots of master patterns in the docs are displayed. Solves #566.Fix #565 and #519.
Progress of the PR
Minimal example of the bug fix or new feature
The example from
EBSDMasterPattern.get_patterns()
:For reviewers
__init__.py
.CHANGELOG.rst
.release.py
and.all-contributorsrc
and the table is regenerated.