IPFColorKeyTSL#

class orix.plot.IPFColorKeyTSL(symmetry: Symmetry, direction: Vector3d | None = 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

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#

Subplots

Subplots

Interactive crystal map plot

Interactive crystal map plot