Since the situation to align many images to a single one for co-addition is fairly common, astroalign could add a feature to make it easier working this case.
Making the register method accept a list of images in the source argument would cause it to return a list of images on output and that would break signature consistency.
Another option is to add another function batch_register for iterables. The default target, if not specified, would be the middle image of the iterable.
import astroalign as aa
list_aligned, list_footprint = aa.batch_register(list_of_images)
Since the situation to align many images to a single one for co-addition is fairly common, astroalign could add a feature to make it easier working this case.
Making the
register
method accept a list of images in thesource
argument would cause it to return a list of images on output and that would break signature consistency.Another option is to add another function
batch_register
for iterables. The default target, if not specified, would be the middle image of the iterable.or