compute_refine_orientation_projection_center_results#

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

Compute the results from refine_orientation_projection_center() and return the CrystalMap and EBSDDetector.

Parameters:
results

Dask array returned from refine_orientation_projection_center().

detector

Detector passed to refine_orientation_projection_center() to obtain results.

xmap

Crystal map passed to refine_orientation_projection_center() to obtain results.

master_pattern

Master pattern passed to refine_orientation_projection_center() to obtain results.

navigation_mask

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

pseudo_symmetry_checked

Whether pseudo-symmetry operators were passed to refine_orientation_projection_center(). 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_projection_center() for details.

new_detector

EBSD detector with refined projection center parameters.