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 obtainresults
.- xmap
Crystal map passed to
refine_projection_center()
to obtainresults
.- navigation_mask
Navigation mask passed to
refine_projection_center()
to obtainresults
. If not given, it is assumed that it was not given torefine_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.