EulerColorKey#

class orix.plot.EulerColorKey(symmetry: Symmetry)[source]#

Bases: object

Assign colors to crystal orientations from their Euler angle triplet \((\phi_1, \Phi, \phi_2)\) in the fundamental Euler region of the orientations’ proper subgroup.

The Euler angle ranges of each proper subgroup are given in euler_fundamental_region. The mapping of orientations’ Euler angles to the fundamental Euler region is done with in_euler_fundamental_region().

Methods

EulerColorKey.orientation2color(orientation)

Return an RGB color per orientation given a proper point group symmetry.

EulerColorKey.plot([return_figure])

Plot the color key.