to_polar_markers#
- OrientationMap.to_polar_markers(n_best: int = 1, marker_colors: str = ('red', 'blue', 'green', 'orange', 'purple'), lazy_output: bool = None, **kwargs) Iterator[Markers] [source]#
Convert the orientation map to a set of markers for plotting in polar coordinates.
- Parameters:
signal_axes (Sequence[BaseDataAxis]) – The signal axes for the orientation map. The first axis should be the azimuthal axis and the second axis should be the radial axis.
n_best (int) – The number of best fit solutions to return as markers
marker_colors – The colors to use for the markers. If there are more than 5 solutions, the colors will repeat.
lazy_output – If True, the output will be a set of lazy markers. If False the output will be a set of computed markers. If None, the output will be lazy if the input is lazy or not lazy if the input is not lazy.
kwargs – Additional keyword arguments to pass to the hyperspy.plot.markers.Points.from_signal function.
- Returns:
all_markers – An list of markers for each of the n_best solutions
- Return type:
Sequence[hs.plot.markers.Markers]