direction2color#
- DirectionColorKeyTSL.direction2color(direction: Vector3d) ndarray[source]#
Return an RGB color per (crystal) direction.
Plot the inverse pole figure color key with
plot().- Parameters:
- direction
Crystal directions to color. Each direction is rotated to the fundamental sector of the Laue symmetry.
- Returns:
rgbColor array of shape direction.shape + (3,).