-
Notifications
You must be signed in to change notification settings - Fork 14
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
DM-47263: Simplify amp offset correction logging #358
base: main
Are you sure you want to change the base?
Conversation
5410abc
to
d2e9a16
Compare
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.
Minor comments.
python/lsst/ip/isr/ampOffset.py
Outdated
ampsOffsets[ampId] += interfaceWeight * interfaceOffset | ||
quartile_summary = np.percentile(interfaceOffsetOriginals, [0, 25, 50, 75, 100]) |
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 think you might need a check here to make sure numbers were measured or else this is going to crash on an empty input. (I don't know if it is possible, but I imagine it might be in the limit of one working amp?)
python/lsst/ip/isr/ampOffset.py
Outdated
ID of the first amplifier. | ||
ampIdB : int | ||
ID of the second amplifier. | ||
ampNameA : int |
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.
This is not an int anymore.
python/lsst/ip/isr/ampOffset.py
Outdated
ID of the second amplifier. | ||
ampNameA : int | ||
Name of the first amplifier. | ||
ampNameB : int |
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.
Neither is this.
a5cf71b
to
98257d7
Compare
98257d7
to
b241aa1
Compare
No description provided.