orientation2color#
- IPFColorKeyTSL.orientation2color(orientation: Orientation) ndarray[source]#
Return an RGB color per orientation given a Laue symmetry and a sample direction.
Plot the inverse pole figure color key with
plot().- Parameters:
- orientation
Orientations to color.
- Returns:
rgbColor array of shape
orientation.shape + (3,).