find_best_match_location

sunpy.image.coalignment.find_best_match_location(corr)[source]

Deprecated since version 4.0: The find_best_match_location function is deprecated and may be removed in version 4.1. Use sunkit_image.coalignment.find_best_match_location instead.

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.