diff --git a/pipelines/cpCore.yaml b/pipelines/cpCore.yaml index 1bfba2fbc..72ad57422 100644 --- a/pipelines/cpCore.yaml +++ b/pipelines/cpCore.yaml @@ -232,25 +232,50 @@ tasks: class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask config: connections.outputName: cpDefectCore - connections.data: verifyDefectResults + 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" + + atools.defectsPixelsFracNoEdge: CalibStatisticFocalPlanePlot + atools.defectsPixelsFracNoEdge.produce.plot.addHistogram: false + atools.defectsPixelsFracNoEdge.quantityKey: DEFECTS_FRAC_NOEDGE + atools.defectsPixelsFracNoEdge.unit: "pix" + + atools.defectsPixelsRequirement: CalibStatisticFocalPlanePlot + atools.defectsPixelsRequirement.produce.plot.addHistogram: false + atools.defectsPixelsRequirement.produce.plot.plotMin: 0 + atools.defectsPixelsRequirement.produce.plot.plotMax: 1 + atools.defectsPixelsRequirement.quantityKey: DEFECTS_REQUIREMENT + atools.defectsPixelsRequirement.unit: "---" # 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: "---" + # 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 *