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:
rgb
Color array of shape
orientation.shape + (3,)
.
Examples using IPFColorKeyTSL.orientation2color
#
Subplots
Interactive crystal map plot