IPFColorKeyTSL#

class orix.plot.IPFColorKeyTSL(symmetry: Symmetry, direction: Optional[Vector3d] = None)[source]#

Bases: IPFColorKey

Assign colors to crystal directions rotated by crystal orientations and projected into an inverse pole figure, according to the Laue symmetry of the crystal.

This is based on the TSL color key implemented in MTEX.

Attributes

IPFColorKeyTSL.direction_color_key

Methods

IPFColorKeyTSL.orientation2color(orientation)

Return an RGB color per orientation given a Laue symmetry and a sample direction.

IPFColorKeyTSL.plot([return_figure])

Plot the inverse pole figure color key.

Examples using IPFColorKeyTSL#