DirectionColorKeyTSL#
- class orix.plot.DirectionColorKeyTSL(symmetry: Symmetry)[source]#
Bases:
DirectionColorKeyAssign colors to crystal directions in a fundamental sector given by one of the eleven Laue symmetries.
- Parameters:
- symmetry
Crystal symmetry. If a non-Laue symmetry is given, the corresponding Laue symmetry is used.
Notes
Coloring is based on the EDAX TSL color key as implemented in MTEX.
Methods
DirectionColorKeyTSL.direction2color(direction)Return an RGB color per (crystal) direction.
DirectionColorKeyTSL.plot([return_figure])Plot the inverse pole figure color key.