Skip to content

Commit

Permalink
Adding frac_bad_pix to calcZernikes output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcrenshaw committed Oct 27, 2024
1 parent 148ab07 commit b36ca26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ts/wep/task/calcZernikesTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def createZkTable(
* u.pixel
)
)
for key in ["MAG", "SN", "ENTROPY"]:
for key in ["MAG", "SN", "ENTROPY", "FRAC_BAD_PIX"]:
for stamps, foc in [
(intraStamps, "intra"),
(extraStamps, "extra"),
Expand Down
2 changes: 2 additions & 0 deletions tests/task/test_calcZernikesTieTaskScienceSensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def testCalcZernikes(self):
"extra_sn",
"intra_entropy",
"extra_entropy",
"intra_frac_bad_pix",
"extra_frac_bad_pix",
]
self.assertLessEqual(set(desired_colnames), set(structNormal.zernikes.colnames))

Expand Down

0 comments on commit b36ca26

Please sign in to comment.