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

DM-38986: Update gain, read noise, saturation values for LSSTCam #464

Merged
merged 2 commits into from Jul 25, 2023

Conversation

jchiang87
Copy link
Contributor

No description provided.

* For gain and read noise, use the values from the ptc analysis of run 13412.
* For saturation, use the per-amp max of 13339 (acq_run 13144) and 13412
  for the maximum_observed_signal and bias levels from 13421 when computing
  saturation.
@jchiang87 jchiang87 requested a review from plazas July 24, 2023 21:58
Copy link
Contributor

@plazas plazas left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks!
Just a clarification: In Jira you commented that dead amplifiers were given average values for gain and noise. Why is this the case? If they're dead, shouldn't we flag/mask them and not use them?

@@ -132,15 +131,6 @@ def updateFromEOTest(RXXDir, raftNames, updatedData):
with open(RXXFile) as fd:
raftNameData = yaml.load(fd, yaml.CSafeLoader)

shutil.copyfile(RXXFile, RXXFile + "~") # make a backup, although we also have git
Copy link
Contributor

Choose a reason for hiding this comment

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

It's not necessary to do this back up anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The unaltered files are already kept track of by git. And if this code is run more than once, as I had to do while understanding that the workaround for corner rafts wasn't needed, the existing backup files get overwritten with altered data, so they're really not useful at that point.

@jchiang87 jchiang87 merged commit 23de68c into main Jul 25, 2023
3 checks passed
@jchiang87 jchiang87 deleted the tickets/DM-38986 branch July 25, 2023 21:06
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.

None yet

2 participants