-
Notifications
You must be signed in to change notification settings - Fork 44
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
Implement property based testing #39
Comments
I'm having this problem too.
Any work around this problem. I visiually checked the images and they're alignable. |
Hi @mshemuni,
This could actually be the issue. It could be that Would you mind sending me a couple of problem images to take a look at them? BTW note that aa._find_sources is an internal method and it's a very simple source detection, I would recommend using a more robust source detection algorithm to use in production. |
Actually we use Please keep in mind some mosaic CCDs would provide data with hot column/row And I think this is the case. |
Hi @mshemuni, Sorry it took me so long to reply, I haven't thoroughly tested your images yet, but I suspect the moire pattern in them may be creating fake sources. But I still have to check if that's really the problem. In any case, it's indication that the source extraction could be made better for astroalign. |
I'm seeing this problem too. Astroalign worked remarkably well when I was using it on crappy .cr2 images from an old Rebel, but now I have a Sony Alpha with a much more sensitive sensor, and when I try astroalign it always fails with MaxIterError. I'll attach a couple of sample images. _find_sources() on the two arrays I'm trying to align returns shapes (3860, 2) and (3990, 2) if I use raw .arw, or (10719, 2) and (11023, 2) for JPG. Github won't let me attach the raw files so here are two JPGs (not great astro images, just something I'm using to test aligning). |
Thanks @akkana, I'll look into it. I'm curious, do you use a single channel to try to align or do you somehow combine the 3 RGB channels when sending to align? (BTW I'm opening a new issue for this specific problem) |
…roalign/issues/39, which may just be a bug in starstack)
Implement property-based testing on astroalign to detect corner cases
For example, anything with stars
<= 98
failsThe text was updated successfully, but these errors were encountered: