direction2color#
- DirectionColorKeyTSL.direction2color(direction: Miller | Vector3d) ndarray[source]#
Return an RGB color per (crystal) direction.
- Parameters:
- direction
Crystal directions to color. Each direction is rotated to the fundamental sector of the Laue symmetry.
- Returns:
rgbColor array of direction shape + (3,).
See also