find_best_match_location

sunpy.image.coalignment.find_best_match_location(corr)[source] [edit on github]

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.