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#

apply_shifts(mc, yshift, xshift, *[, clip])

Apply a set of pixel shifts to a MapSequence, and return a new MapSequence.

calculate_match_template_shift(mc[, ...])

Calculate the arcsecond shifts necessary to co-register the layers in a MapSequence according to a template taken from that MapSequence.

mapsequence_coalign_by_match_template(mc, *)

Co-register the layers in a MapSequence according to a template taken from that MapSequence.

match_template_to_layer(layer, template)

Calculate the correlation array that describes how well the template matches the layer.