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

Correcting for a missing gain factor in the noise image creation #133

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gterreran
Copy link
Contributor

When the noise image was created, a few missing gain factor were missing.
Since the noise image is created at least in two instances, I created a separate function. I also added some comments to make it more readable.

The gain for Sinistro should be 1, so even with this bug, previous LCO-LCO subtractions should not have been affected. However subtraction using other surveys might have.

@abostroem
Copy link
Collaborator

Thanks for catching this @gterreran! Can you please let us know how you tested this PR and what we should do to test it?

@gterreran
Copy link
Contributor Author

I asked Megan to test it by trying to do an image subtraction with PS1. You can probably do the same.

@abostroem
Copy link
Collaborator

@gterreran you are much more familiar with the problem, what looks wrong, and what looks right. Please provide a detailed test plan (e.g. what commands to run and how to tell if the bug is fixed from the output). PR #132 has an example.

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.

2 participants