compute_refine_orientation_results#

kikuchipy.indexing.compute_refine_orientation_results(results: Array, xmap: CrystalMap, master_pattern: EBSDMasterPattern, navigation_mask: ndarray | None = None, pseudo_symmetry_checked: bool = False) CrystalMap[source]#

Compute the results from refine_orientation() and return the CrystalMap.

Parameters:
results

Dask array returned from refine_orientation().

xmap

Crystal map passed to refine_orientation() to obtain results.

master_pattern

Master pattern passed to refine_orientation() to obtain results.

navigation_mask

Navigation mask passed to refine_orientation() to obtain results. If not given, it is assumed that it was not given to refine_orientation() either.

pseudo_symmetry_checked

Whether pseudo-symmetry operators were passed to refine_orientation(). Default is False.

Returns:
xmap_refined

Crystal map with refined orientations, scores, the number of function evaluations and the pseudo-symmetry index if pseudo_symmetry_checked=True. See the docstring of refine_orientation() for details.