compute_refine_projection_center_results#

kikuchipy.indexing.compute_refine_projection_center_results(results: Array, detector: EBSDDetector, xmap: CrystalMap, navigation_mask: ndarray | None = None) Tuple[ndarray, EBSDDetector, ndarray][source]#

Compute the results from refine_projection_center() and return the score array, EBSDDetector and number of function evaluations per pattern.

Parameters:
results

Dask array returned from refine_projection_center().

detector

Detector passed to refine_projection_center() to obtain results.

xmap

Crystal map passed to refine_projection_center() to obtain results.

navigation_mask

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

Returns:
new_scores

Score array.

new_detector

EBSD detector with refined projection center parameters.

num_evals

Number of function evaluations per pattern.