-
Notifications
You must be signed in to change notification settings - Fork 0
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
Updated bright star treatment and addition of saturation #90
Conversation
@aguinot Let me know if saturation implementation is ok. |
euclidlike_imsim/ccd.py
Outdated
|
||
# Apply saturation | ||
saturation_ADU = saturation/gain | ||
image[image > saturation_ADU] = saturation_ADU |
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.
image
is Galsim.Image - need to make a copy of the image data and modify it and put it back
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.
Corrected.
Final changes made, updated saturation limit value to 200,000 electrons per https://www.euclid-ec.org/public/mission/vis/#:~:text=VIS%20pixels%20are%20saturated%20at,IE(AB)%3D16.0. |
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.
I have an optional suggestion, but it looks good!
Co-authored-by: Rachel Mandelbaum <[email protected]>
Co-authored-by: Axel Guinot <[email protected]>
Small change to flux value where we switch from using Euclidlike PSF to bright star PSF.
Also need to add saturation limit to
addNoise
function inccd.py
.