Orix

Latest version: v0.13.2

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

Scan your dependencies

Page 1 of 3

0.13.2

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

Added
-----
- Compatibility with NumPy v2.0.

0.13.1

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

Added
-----
- Support for Python 3.12.

Changed
-------
- numpy-quaternion is now an optional dependency and will not be installed with ``pip``
unless ``pip install orix[all]`` is used.

Removed
-------
- Support for Python 3.8 and 3.9.

Fixed
-----
- ``Phase.from_cif()`` still gives a valid phase even though the space group could not
be read.

0.13.0

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

Added
-----
- We can now read 2D crystal maps from Channel Text Files (CTFs) using ``io.load()``.

Changed
-------
- Phase names in crystal maps read from .ang files with ``io.load()`` now prefer to use
the abbreviated "Formula" instead of "MaterialName" in the file header.

Removed
-------
- Removed deprecated ``from_neo_euler()`` method for ``Quaternion`` and its subclasses.
- Removed deprecated argument ``convention`` in ``from_euler()`` and ``to_euler()``
methods for ``Quaternion`` and its subclasses. Use ``direction`` instead. Passing
``convention`` will now raise an error.

Deprecated
----------
- ``loadang()`` and ``loadctf()`` are deprecated and will be removed in the next minor
release. Please use ``io.load()`` instead.

0.12.1

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

Fixed
-----
- ``ax2qu`` and ``Quaternion.from_axes_angles()`` would raise if the input arrays were
broadcastable but the final dimension was ``1``. This has been fixed.
- ``Phase.from_cif()`` now correctly adjusts atom positions when forcing
``Phase.structure.lattice.base`` to use the crystal axes alignment ``e1 || a``,
``e3 || c*``. This bug was introduced in 0.12.0.

0.12.0

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

Added
-----
- ``Vector3d.from_path_ends()`` class method to get vectors between two vectors.
- Convenience function ``plot.format_labels()`` to get nicely formatted vector labels to
use when plotting vectors.
- Two offsets in the stereographic coordinates (X, Y) can be given to
``StereographicPlot.text()`` to offset text coordinates.
- Explicit support for Python 3.11.
- Creating quaternions from neo-eulerian vectors via new class methods
``from_rodrigues()`` and ``from_homochoric()``, replacing the now deprecated
``from_neo_euler()``. ``from_rodrigues()`` accepts an angle parameter to allow passing
Rodrigues-Frank vectors.
- Creating neo-eulerian vectors from quaternions via new methods ``to_axes_angles()``,
``to_rodrigues()`` and ``to_homochoric()``. Rodrigues-Frank vectors can be returned
from ``to_rodrigues()`` by passing ``frank=True``.
- ``inv()`` method for ``Quaternion``, ``Rotation``, ``Orientation``, and
``Misorientation``. For the three first, its behavior is identical to the inversion
operator ``~``. For misorientations, it inverts the direction of the transformation.
Convenient for chaining operations.
- The ``random()`` methods of ``Orientation`` and ``Misorientation`` now accept
``symmetry``. A ``random()`` method is also added to ``Vector3d`` and ``Miller``, the
latter accepting a ``phase``.
- Function ``orix.sampling.get_sample_reduced_fundamental()`` for sampling rotations
that rotate the Z-vector (0, 0, 1) onto the fundamental sector of the Laue group of a
given ``Symmetry``.

Changed
-------
- The ``convention`` parameter in ``from_euler()`` and ``to_euler()`` will be removed in
the next minor release, 0.13, instead of release 1.0 as previously stated.
- Allow passing a tuple of integers to ``reshape()`` methods of 3D objects.
- ``random()`` methods no longer accept a list as a valid shape: pass a tuple instead.
- Increase minimal version of Matplotlib to >= 3.5.

Removed
-------
- Support for Python 3.7.

Deprecated
----------
- Creating quaternions from neo-eulerian vectors via ``from_neo_euler()`` is deprecated
and will be removed in v0.13. Use the existing ``from_axes_angles()`` and the new
``from_rodrigues()`` and ``from_homochoric()`` instead.

Fixed
-----
- Transparency of polar stereographic grid lines can now be controlled by Matplotlib's
``grid.alpha``, just like the azimuth grid lines.
- Previously, ``Phase`` did not adjust atom positions when forcing
``Phase.structure.lattice.base`` to use the crystal axes alignment ``e1 || a``,
``e3 || c*``. This is now fixed.

0.11.1

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

Fixed
-----
- Initialization of a crystal map with a phase list with fewer phases than in the phase
ID array given returns a map with a new phase list with correct phase IDs.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.