Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions pipelines/cpCore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,25 +232,39 @@ tasks:
class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask
config:
connections.outputName: cpDefectCore
connections.data: verifyDefectResults

# TODO: DM-43880 Sort out defects
atools.defectsHotPixels: CalibStatisticFocalPlanePlot
atools.defectsHotPixels.produce.plot.addHistogram: true
atools.defectsHotPixels.produce.plot.zAxisLabel: "Number of Hot Pixels"
atools.defectsHotPixels.quantityKey: DEFECTS_DEFECTS_DIST_N_HOT
atools.defectsHotPixels.unit: "---"
connections.data: verifyDefectsResults

atools.defectsPixels: CalibStatisticFocalPlanePlot
atools.defectsPixels.produce.plot.addHistogram: false
# here set name of column from the verify table
atools.defectsPixels.quantityKey: DEFECTS_DEFECT_PIXELS
atools.defectsPixels.unit: "pix"

atools.defectsPixelsFrac: CalibStatisticFocalPlanePlot
atools.defectsPixelsFrac.produce.plot.addHistogram: false
atools.defectsPixelsFrac.quantityKey: DEFECTS_FRAC
atools.defectsPixelsFrac.unit: "pix"

# TODO: DM-52156 The following will be replaced with statistics for
# different defects reasons
# atools.defectsHotPixels: CalibStatisticFocalPlanePlot
# atools.defectsHotPixels.produce.plot.addHistogram: true
# atools.defectsHotPixels.produce.plot.zAxisLabel: "Number of Hot Pixels"
# atools.defectsHotPixels.quantityKey: DEFECTS_DEFECTS_DIST_N_HOT
# atools.defectsHotPixels.unit: "---"

# atools.defectsColdPixels: CalibStatisticFocalPlanePlot
# atools.defectsColdPixels.produce.plot.addHistogram: true
# atools.defectsColdPixels.produce.plot.zAxisLabel: "Number of Cold Pixels"
# atools.defectsColdPixels.quantityKey: DEFECTS_DEFECTS_DIST_N_COLD
# atools.defectsColdPixels.unit: "---"

# atools.defectsBadColumns: CalibStatisticFocalPlanePlot
# atools.defectsBadColumns.produce.plot.addHistogram: true
# atools.defectsBadColumns.produce.plot.zAxisLabel: "Number of Hot Pixels"
# atools.defectsBadColumns.quantityKey: DEFECTS_DEFECTS_DIST_N_BAD_COLUMNS
# atools.defectsBadColumns.unit: "---"

python: |
from lsst.analysis.tools.atools import *

Expand Down
Loading