-
Notifications
You must be signed in to change notification settings - Fork 4
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
Combine images #271
Combine images #271
Conversation
These are all supposed to be "identical" frames, right? My suggestion would be to implement the methodology for computing the combined |
@kjl0025 this step function will be run at L3->L4 processing, so after photon noise has been propagated into the error array. I worry that the method you suggested will double count photon noise. I think we can assume all the sources of err have already been propagated into the error array, and we don't need to look at the variation from frame to frame. |
Yes, issue #124 refers to our previous discussion about assigning a more accurate statistical noise compared to what is assigned per frame in |
I'm not sure why we would leave |
Yeah, you can see the discussion in that issue for proposed ways around that (like taking the standard error of the stack and dividing it up among the frames in the stack). Perhaps to address that requires an edit of add_photon_noise(). The other points, though, are relevant to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@kjl0025 I looked through that discussion, and I'm not sure if there's anything in there that's missing in this PR. |
Oh, my bad, I see that this code indeed already covers the other points I mentioned (about masking for calculating err, etc). Sorry, I had overlooked some lines and didn't actually check the unit tests! However, one issue: test_combine.py only calls one of the tests to run after |
the |
Ah, okay, thanks! |
Describe your changes
Tasks related to issue Combine images #236 :
Type of change
Reference any relevant issues (don't forget the #)
Combine images #236
Checklist before requesting a review