Kikuchipy

Latest version: v0.11.2

Safety actively analyzes 724451 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.7.0

==================

Added
-----
- Signal mask passed to EBSD orientation and projection center refinement methods is now
applied to the experimental pattern as well.
(`573 <https://github.com/pyxem/kikuchipy/pull/573>`_)
- Dependency ``imageio`` needed for reading EBSD patterns in image files.
(`570 <https://github.com/pyxem/kikuchipy/pull/570>`_)
- Reader of an ``EBSD`` signal from all images in a directory assuming they are of the
same shape and data type. (`570 <https://github.com/pyxem/kikuchipy/pull/570>`_)
- Reader of an ``EBSD`` signal from EDAX TSL's binary UP1/UP2 file formats.
(`569 <https://github.com/pyxem/kikuchipy/pull/569>`_)
- Ability to project simulate patterns from a master pattern using varying projection
centers (PCs) in ``EBSDMasterPattern.get_patterns()``. An example is added to the
method to show this. (`567 <https://github.com/pyxem/kikuchipy/pull/567>`_)
- Allow not setting ``energy`` parameter in ``EBSDMasterPattern.get_patterns()``, upon
which the highest energy available is used.
(`567 <https://github.com/pyxem/kikuchipy/pull/567>`_)
- Improved handling of custom attributes ``xmap``, ``detector`` and
``static_background`` in ``EBSD`` and ``hemisphere``, ``phase`` and ``projection`` in
EBSD/ECP master pattern classes when calling inherited HyperSpy ``Signal2D`` methods
``as_lazy()``, ``change_dtype()``, ``compute()``, ``deepcopy()``,
``set_signal_type()`` and ``squeeze()``.
(`564 <https://github.com/pyxem/kikuchipy/pull/564>`_)
- Reader of an electron channelig pattern (ECP) master pattern from an EMsoft HDF5 file
into an ``ECPMasterPattern`` signal.
(`564 <https://github.com/pyxem/kikuchipy/pull/564>`_)
- Reader of a transmission kikuchi diffraction (TKD) master pattern from an EMsoft HDF5
file into an ``EBSDMasterPattern`` signal.
(`564 <https://github.com/pyxem/kikuchipy/pull/564>`_)
- ``ECPMasterPattern`` class. (`564 <https://github.com/pyxem/kikuchipy/pull/564>`_)
- Some internal logging which can be controlled via ``kikuchipy.set_log_level()``.
(`564 <https://github.com/pyxem/kikuchipy/pull/564>`_)
- Reader of an ``EBSD`` signal from Oxford Instrument's h5ebsd format (H5OINA).
(`562 <https://github.com/pyxem/kikuchipy/pull/562>`_)
- Figures of reference frames of other software added to the documentation.
(`552 <https://github.com/pyxem/kikuchipy/pull/552>`_)
- Whether to show progressbars from most signal methods (except indexing and refinement)
can be controlled by passing ``show_progressbar`` or by setting HyperSpy's
``hs.preferences.General.show_progressbar`` (see their docs for details).
(`550 <https://github.com/pyxem/kikuchipy/pull/550>`_)

Changed
-------
- Documentation theme from *Furo* to *PyData*, as the growing API reference is easier to
navigate with the latter. (`574 <https://github.com/pyxem/kikuchipy/pull/574>`_)
- Use Rodrigues-Frank vector components (Rx, Ry, Rz) instead of Euler angles in EBSD
orientation and projection center refinement methods. This means that if refinement is
not directly but a Dask array is returned from any of these methods, the data which
previously contained Euler angles now contain these vector components. This change was
done to speed up refinement. (`573 <https://github.com/pyxem/kikuchipy/pull/573>`_)
- Most of the ``EBSD`` metadata structure is removed, in an effort to move all relevant
data to the attributes ``xmap``, ``static_background``, and ``detector``.
(`562 <https://github.com/pyxem/kikuchipy/pull/562>`_)
- h5ebsd plugin split into one plugin for each h5ebsd format (kikuchipy, EDAX TSL, and
Bruker Nano).
(`562 <https://github.com/pyxem/kikuchipy/pull/562>`_)
- ``EBSDDetector.plot()`` and ``PCCalibrationMovingScreen.plot()`` parameter
``return_fig_ax`` renamed to ``return_figure``.
(`552 <https://github.com/pyxem/kikuchipy/pull/552>`_)
- Import modules lazily using the specification in `PEP 562
<https://peps.python.org/pep-0562/>`__.
(`551 <https://github.com/pyxem/kikuchipy/pull/551>`_)
- Minimal version of HyperSpy increased to >= 1.7.1.
(`550 <https://github.com/pyxem/kikuchipy/pull/550>`_)
- ``progressbar`` parameter to ``show_progressbar`` in ``kikuchipy.data`` functions
which accepts a ``allow_download`` parameter. If not given, the value is retreived
from HyperSpy's preferences. (`550 <https://github.com/pyxem/kikuchipy/pull/550>`_)

Deprecated
----------
- ``mask`` parameter in EBSD orientation and projection center refinement is deprecated
in favor of ``signal_mask``, and will be removed in version 0.8.0.
(`573 <https://github.com/pyxem/kikuchipy/pull/573>`_)
- ``projections.ebsd_projections`` module.
(`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)

Removed
-------
- ``EBSDSimulationGenerator`` and ``GeometricalEBSDSimulation`` (use
``KikuchiPatternSimulator`` and ``GeometricalKikuchiPatternSimulation`` instead) and
``simulations.features`` module.
(`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)
- ``crystallography`` module. (`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)
- Options ``"north"`` and ``"south"`` for property
``EBSDMasterPattern.hemisphere`` and in the parameter ``"hemisphere"`` in
``kikuchipy.data.nickel_ebsd_master_pattern_small()``; use ``"upper"`` and ``"lower"``
instead. (`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)
- Functions ``remove_static_background()``, ``remove_dynamic_background()`` and
``get_image_quality()`` from ``chunk`` module.
(`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)
- Parameter ``relative`` in ``EBSD.remove_static_background()``.
(`563 <https://github.com/pyxem/kikuchipy/pull/563>`_)
- Functions ``ebsd_metadata()`` and ``metadata_nodes()`` which have been deprecated
since v0.5. (`550 <https://github.com/pyxem/kikuchipy/pull/550>`_,
`562 <https://github.com/pyxem/kikuchipy/pull/562>`_)
- Print information emitted from ``EBSD`` methods like ``remove_static_background()`` is
removed. (`550 <https://github.com/pyxem/kikuchipy/pull/550>`_)

Fixed
-----
- ``detector`` attribute of ``EBSD`` signal returned from the NORDIF
calibration pattern reader is now an ``EBSDDetector`` and not just a dictionary.
(`569 <https://github.com/pyxem/kikuchipy/pull/569>`_)
- Silence dask warning about splitting large chunks in ``EBSD.dictionary_indexing()``.
Memory use can be controlled by rechunking the dictionary or setting the ``rechunk``
or ``n_per_iteration`` parameters.
(`567 <https://github.com/pyxem/kikuchipy/pull/567>`_)

0.6.1

==================

Contributors
------------
- Håkon Wiik Ånes

Fixed
-----
- Incorrect filtering of zone axes labels in geometrical simulations.
(`544 <https://github.com/pyxem/kikuchipy/pull/544>`_)

0.6.0

==================

Contributors
------------
- Håkon Wiik Ånes

Added
-----
- ``EBSDMasterPattern.plot_spherical()`` for plotting a master pattern in the
stereographic projection on the 3D sphere.
(`536 <https://github.com/pyxem/kikuchipy/pull/536>`_)
- Projection of master pattern in the stereographic projection to the square Lambert
projection via ``EBSDMasterPattern.to_lambert()``.
(`536 <https://github.com/pyxem/kikuchipy/pull/536>`_)
- New package dependencies on ``pyvista`` for 3D plotting and on ``pythreejs`` for the
docs are introduced. (`536 <https://github.com/pyxem/kikuchipy/pull/536>`_)
- Reduce time and memory use of the following ``kikuchipy.signals.EBSD`` methods by
using ``hyperspy.signal.BaseSignal.map()``: ``remove_static_background()``,
``remove_dynamic_background()`` and ``get_image_quality()``.
(`527 <https://github.com/pyxem/kikuchipy/pull/527>`_)
- ``progressbar`` parameter to functions downloading external datasets in the data
module. (`515 <https://github.com/pyxem/kikuchipy/pull/515>`_)
- Support for Python 3.10. (`504 <https://github.com/pyxem/kikuchipy/pull/504>`_)
- ``EBSD.static_background`` property for easier access to the background pattern.
(`475 <https://github.com/pyxem/kikuchipy/pull/475>`_)

Changed
-------
- Valid ``EBSDMasterPattern.hemisphere`` values from ``"north"`` and ``"south"`` to
``"upper"`` and ``"lower"``, respectively, to be in line with `orix`.
(`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- Increase minimal version of diffsims to 0.5.
(`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- Chunking of EBSD signal navigation dimensions in
``EBSD.average_neighbour_patterns()`` to reduce memory use.
(`532 <https://github.com/pyxem/kikuchipy/pull/532>`_)
- Remove requirement that the crystal map used for EBSD refinement has identical step
size(s) to the EBSD signal's navigation axes. This raised an error previously, but now
only emits a warning. (`531 <https://github.com/pyxem/kikuchipy/pull/531>`_)
- Increase minimal version of HyperSpy to 1.7.
(`527 <https://github.com/pyxem/kikuchipy/pull/527>`_)
- Increase minimal version of SciPy to 1.7.
(`504 <https://github.com/pyxem/kikuchipy/pull/504>`_)

Deprecated
----------
- The ``kikuchipy.simulations.GeometricalEBSDSimulation`` class is deprecated and will
be removed in version 0.7. Obtain
``kikuchipy.simulations.GeometricalKikuchiPatternSimulation`` via
``kikuchipy.simulations.KikuchiPatternSimulator.on_detector()`` instead. The
``kikuchipy.simulations.features`` module is also deprecated and will be removed in
version 0.7. Obtain Kikuchi line and zone axis detector/gnomonic coordinates of a
simulation via ``lines_coordinates()`` and ``zone_axes_coordinates()`` instead.
(`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- The ``kikuchipy.generators.EBSDSimulationGenerator`` class is deprecated and will be
removed in version 0.7. Use the ``kikuchipy.simulations.KikuchiPatternSimulator``
class instead. (`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- The ``kikuchipy.crystallography.matrices`` module is deprecated and will be removed in
version 0.7, access the matrices via ``diffpy.structure.lattice.Lattice`` attributes
instead. (`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- The following functions for processing of pattern chunks in the
``kikuchipy.pattern.chunk`` module are deprecated and will be removed in version 0.7:
``get_image_quality()``, ``remove_dynamic_background()`` and
``remove_static_background()``. Use the ``EBSD`` class for processing of many
patterns. (`527 <https://github.com/pyxem/kikuchipy/pull/527>`_,
`533 <https://github.com/pyxem/kikuchipy/pull/533>`_ )

Removed
-------
- The ``relative`` parameter in ``kikuchipy.signals.EBSD.remove_static_background()``.
The parameter is accepted but not used. Passing it after this release will result in
an error. (`527 <https://github.com/pyxem/kikuchipy/pull/527>`_)

Fixed
-----
- Plotting of geometrical simulation markers on rectangular patterns.
(`537 <https://github.com/pyxem/kikuchipy/pull/537>`_)
- Hopefully prevent EBSD refinement tests using random data to fail on Azure.
(`465 <https://github.com/pyxem/kikuchipy/pull/465>`_)

0.5.8

==================

Contributors
------------
- Håkon Wiik Ånes

Changed
-------
- Minimal version of ``orix`` is increased to 0.9.
(`520 <https://github.com/pyxem/kikuchipy/pull/520>`_)

Fixed
-----
- Internal use of ``orix.vector.Vector3d`` following ``orix``' 0.9.0 release.
(`520 <https://github.com/pyxem/kikuchipy/pull/520>`_)

0.5.7

==================

Contributors
------------
- Håkon Wiik Ånes

Fixed
-----
- EBSD orientation refinement on Windows producing garbage results due to unpredictable
behaviour in Numba function which converts Euler triplet to quaternion.
(`495 <https://github.com/pyxem/kikuchipy/pull/495>`_)

0.5.6

==================

Contributors
------------
- Håkon Wiik Ånes

Added
-----
- Convenience function `get_rgb_navigator()` to create an RGB signal from an RGB image.
(`491 <https://github.com/pyxem/kikuchipy/pull/491>`_)

Changed
-------
- Pattern matching notebook to include orientation maps from orix.
(`491 <https://github.com/pyxem/kikuchipy/pull/491>`_)

Page 3 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.