Skip to content

Commit

Permalink
Fix field names.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Jan 25, 2024
1 parent a4eaa7d commit 2dfdd47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/lsst/cp/verify/repackStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ def repackDetStats(self, detectorStats, detectorDims):
"ptcTurnoff": stats["PTC_TURNOFF"],
"ptcFitType": stats["PTC_FIT_TYPE"],
"ptcBfeA00": stats["PTC_BFE_A00"],
"ptcRowMeanVariance": stats["PTC_ROW_MEAN_VARIANCE"],
}
# Get catalog stats
# Get detector stats
Expand All @@ -384,10 +385,10 @@ def repackDetStats(self, detectorStats, detectorDims):
row["detector"] = {
"instrument": instrument,
"detector": detector,
"ptcVerifyGain": stats["GAIN"],
"ptcVerifyNoise": stats["NOISE"],
"ptcVerifyGain": stats["PTC_GAIN"],
"ptcVerifyNoise": stats["PTC_NOISE"],
"ptcVerifyTurnoff": stats["PTC_TURNOFF"],
"ptcVerifyBfeA00": stats["BFE_A00"],
"ptcVerifyBfeA00": stats["PTC_BFE_A00"],
}
# Get isr stats

Expand Down

0 comments on commit 2dfdd47

Please sign in to comment.