DirectionColorKeyTSL#

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

Bases: DirectionColorKey

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.

Methods

DirectionColorKeyTSL.direction2color(direction)

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

DirectionColorKeyTSL.plot([return_figure])

Plot the inverse pole figure color key.