to_ipf_markers#

OrientationMap.to_ipf_markers(offset_x: float = 0.85, offset_y: float = 0.85, scale: float = 0.2, color: str = 'green', cmap: str = None)[source]#

Convert the orientation map to a set of inverse pole figure markers which visualizes the best matching orientations in the reduced S2 space.

Parameters:
  • offset (float) – The offset of the markers from the center of the plot

  • scale (float) – The scale (as a fraction of the axis) for the markers.

  • color (str) – The color of the markers. Overridden by cmap, if not None

  • cmap (str) – Use a color map to show correlation scores. Takes priority over the color parameter.

Notes

This function can be slow with a large n_keep. Use to_ipf_correlation_heatmap_markers instead.