Skip to content

orix 0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Feb 16:18
· 383 commits to main since this release
c7af446

orix 0.11.0 is a minor release of orix, an open-source Python library for handling orientations, rotations and crystal symmetry.

This release removes the use of a third axis (z) in CrystalMap. It also offers the possibility of creating rotations by aligning sets of vectors, e.g. an orientation from sample and crystal vectors or a misorientation from vectors in two different crystals.

See below, the changelog or the GitHub changelog for all updates from the previous release.

Added

  • Creation of one or more Quaternion (or instances of inheriting classes) from one or more SciPy Rotation.
  • Creation of one Quaternion or Rotation by aligning sets of vectors in two reference frames, one Orientation by aligning sets of sample vectors and crystal vectors, and one Misorientation by aligning two sets of crystal vectors in two different crystals.
  • row and col properties to CrystalMap giving the row and column coordinate of each map point given by CrystalMap.shape.
  • Rotation class methods from_neo_euler(), from_axes_angles(), from_euler(), from_matrix(), random() and identity() and methods to_euler() and to_matrix() are now available from the Quaternion class as well.
  • StereographicPlot.restrict_to_sector() allows two new parameters to control the amount of padding (in degrees in stereographic projection) and whether to show the sector edges. Keyword arguments can also be passed on to Matplotlib's PathPatch().
  • Option to pass degrees to the Quaternion methods from_axes_angles(), from_euler() and to_euler() by passing degrees=True.
  • Option to get degrees from all angle_with() and angle_with_outer() methods by passing degrees=True.
  • Option to pass degrees to the (Mis)Orientation method get_distance_matrix() by passing degrees=True.
  • Option to pass degrees to the Vector3d methods from_polar() and to_polar() by passing degrees=True.
  • Option to get spherical coordinates from InverseStereographicProjection.xy2spherical() in degrees or pass them as degrees to StereographicProjection methods spherical2xy() and spherical2xy_split() by passing degrees=True.

Changed

  • Bumped minimal version of diffpy.structure >= 3.0.2.
  • Only ASTAR .ang files return crystal maps with "nm" as scan unit.

Removed

  • Parameter z when creating a CrystalMap and the z and dz attributes of the class were deprecated in 0.10.1 and are now removed.
  • Passing shape or step_sizes with three values to create_coordinate_arrays() was depreacted in 0.10. and will now raise an error.
  • Parameter depth (and axes) in CrystalMapPlot.plot_map() was depreacted in 0.10.1 and will now raise an error if passed.
  • The z and dz datasets are not present in new orix HDF5 files. They are not read if present in older files.

Fixed

  • Reading of EDAX TSL .ang files with ten columns should now work.