coalignment¶
This package implements functions for coaligning image data.
sunkit_image.coalignment Module¶
This module provides routines for the co-alignment of images and
MapSequence
objects through both template matching and
corrections due to solar rotation.
Functions¶
|
Calculates the pixel shift required to put the template in the "best" position on a layer. |
|
Clips off the "y" and "x" edges of a 2D array according to a list of pixel values. |
|
Return the upper and lower clipping values for the "y" and "x" directions. |
|
Calculate the correlation array that describes how well the template matches the layer. |
|
Calculate an estimate of the location of the peak of the correlation result in image pixels. |
|
Estimate the location of the maximum of a fit to the input array. |
Find the location of the turning point for a parabola |
|
|
Issue a warning if there is any nonfinite entry in the layer or template images. |
|
Apply a set of pixel shifts to a |
|
Co-register the layers in a |
|
Calculate the arcsecond shifts necessary to co-register the layers in a |
|
Calculate the shift that must be applied to each map contained in a mapsequence in order to compensate for solar rotation. |
|
Move the layers in a mapsequence according to the input shifts. |