compute_shift_list#

astropop.image.register.compute_shift_list(frame_list, algorithm='cross-correlation', ref_image=0, skip_failure=False, **kwargs)#

Compute the shift between a list of frames.

Parameters:
frame_listlist

A list containing FrameData images to be registered. All images must have the same shape.

algorithm{‘cross-correlation’, ‘asterism-matching’} (optional)

The algorithm to compute the AffineTransform between the images. ‘cross-correlation’ will compute the transform using phase_cross_correlation method. ‘asterism-matching’ will use astroalign to match asterisms of 3 detected stars in the field and compute the transform. Default: ‘cross-correlation’

ref_imageint (optional)

Reference image index to compute the registration. Default: 0

skip_failurebool (optional)

If True, the images that fail to register will be skipped and their shifts will be set to nan. Default: False

**kwargs

keyword arguments to be passed to CrossCorrelationRegister or AsterismRegister during instance creation. See the parameters in each class documentation.