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

Fixes the WCS used for weighted combination #1876

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

rcooke-ast
Copy link
Collaborator

The number of RA points used in the white light image generated when calculating the weights was incorrect. This is now fixed.

Running tests...

Copy link
Collaborator

@kbwestfall kbwestfall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. Can you add a new test?

@rcooke-ast
Copy link
Collaborator Author

Tests pass... There's a corresponding dev suite PR as well.

image

@rcooke-ast
Copy link
Collaborator Author

Can you add a new test?

Thanks for the suggestion @kbwestfall. I'm quite keen to add tests for KCWI, to avoid breaking things I've put in the code long ago! But, I don't think this is really something where a test would help. The issue was that arcsec^2 was a negative number (because the WCS is flipped E-W), and the number of bins was incorrectly set.

Copy link
Collaborator

@debora-pe debora-pe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rcooke-ast

@rcooke-ast rcooke-ast merged commit 5291da0 into develop Dec 13, 2024
18 checks passed
@rcooke-ast rcooke-ast deleted the hotfix_coadd3d branch December 13, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants