conventional_xc#
- SubpixelrefinementGenerator.conventional_xc(square_size, disc_radius, upsample_factor)[source]#
Refines the peaks using (phase) cross correlation.
- Parameters:
square_size (int) – Length (in pixels) of one side of a square the contains the peak to be refined.
disc_radius (int) – Radius (in pixels) of the discs that you seek to refine
upsample_factor (int) – Factor by which to upsample the patterns
- Returns:
vector_out – DiffractionVectors containing the refined vectors in calibrated units with the same navigation shape as the diffraction patterns.
- Return type: