show_refinement#
- de_ebsd.viz.maps.show_refinement(history)[source]#
Plot the refinement NCC trajectory (convergence) vs iteration.
- Parameters:
- history
The per-iteration NCC trajectory from
de_ebsd.index.refine.orientation.refine_orientation()(return_history=True), shape(n_iterations, Np)– one column per pattern – or(n_iterations,)for a single pattern (numpy array or torch tensor).history[0]is the seed’s score atw = 0.
- Returns:
anyplotlib.FigureA line plot of NCC against iteration: one thin curve per pattern, plus a thick mean curve when more than one pattern is refined.