find_best_match_location

sunkit_image.coalignment.find_best_match_location(corr)[source]

Calculate an estimate of the location of the peak of the correlation result in image pixels.

Parameters:

corr (numpy.ndarray) – A 2D correlation array.

Returns:

Quantity – The shift amounts (y, x) in image pixels. Subpixel values are possible.