Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aligning a batch of images to a single one #55

Open
martinberoiz opened this issue Oct 9, 2020 · 0 comments
Open

Add aligning a batch of images to a single one #55

martinberoiz opened this issue Oct 9, 2020 · 0 comments

Comments

@martinberoiz
Copy link
Member

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)

or

list_aligned, list_footprint = aa.batch_register(source=list_of_images, target=list_of_images[0])    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant