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
FrameDataimages to be registered. All images must have the same shape.- algorithm{‘cross-correlation’, ‘asterism-matching’} (optional)
The algorithm to compute the
AffineTransformbetween the images. ‘cross-correlation’ will compute the transform usingphase_cross_correlationmethod. ‘asterism-matching’ will useastroalignto 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
CrossCorrelationRegisterorAsterismRegisterduring instance creation. See the parameters in each class documentation.