-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reproject starfield sample and uncertainty in one fell swoop #323
Conversation
Yay! Does using this require a new version of remove_starfield? If so, we should update our pinned version in the server requirements. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
==========================================
+ Coverage 88.41% 88.43% +0.02%
==========================================
Files 56 56
Lines 3746 3745 -1
==========================================
Hits 3312 3312
+ Misses 434 433 -1 ☔ View full report in Codecov by Sentry. |
I do have pending changes in remove_starfield that will gain another minute or two, and thoughts on next steps for Monday. But this is all in punchbowl! |
I wanted to check the I don't have timing on that change combined with this, but compared with the "before this PR" state, it also took things from 10 minutes to about 7 min. |
We'll want to make sure this is true in punchbowl. Uncertainty can have Gotta love FFTs! |
We could also swap out uncertainty |
PR summary
Handling uncertainty in the starfield subtraction was just subtracting the actual starfield from the uncertainty through a second call to
starfield_model.subtract_from_image
. Since it's still the same WCS and transformation, we might as well do it in the same call as for the actual starfield subtraction. That takes things from 10 min to 7m45s.This does not address the question of what's correct for the uncertainty at this step. It was subtracting the actual starfield, and this PR takes the liberty of changing it to subtract the starfield's uncertainty. Still not correct, but maybe closer.
So the uncertainty comes out different, but the data layer comes out bit-for-bit identical.