From 13e2be30587b16abaa307197df9b9ecade25b5d4 Mon Sep 17 00:00:00 2001 From: Alex Broughton Date: Fri, 15 Nov 2024 05:40:26 -0800 Subject: [PATCH] Add flat core analysis tools pipeline --- pipelines/_ingredients/verifyFlat.yaml | 15 +++++++++++++++ pipelines/_ingredients/verifyFlatLSST.yaml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/pipelines/_ingredients/verifyFlat.yaml b/pipelines/_ingredients/verifyFlat.yaml index 3b3fd96..97de1e9 100644 --- a/pipelines/_ingredients/verifyFlat.yaml +++ b/pipelines/_ingredients/verifyFlat.yaml @@ -1,4 +1,9 @@ description: cp_verify FLAT calibration verification +imports: + - location: $ANALYSIS_TOOLS_DIR/pipelines/cpCore.yaml + include: + - analyzeFlatCore + - analyzeFlatDetCore tasks: verifyFlatIsr: class: lsst.ip.isr.IsrTask @@ -36,6 +41,16 @@ tasks: connections.outputResults: "verifyFlatResults" hasInputResults: true hasMatrixCatalog: false + analyzeFlatCore: + class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask + config: + connections.data: "verifyFlatResults" + connections.outputName: "verifyFlatAnalysis" + analyzeFlatDetCore: + class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask + config: + connections.data: "verifyFlatDetResults" + connections.outputName: "verifyFlatDetAnalysis" contracts: - verifyFlatDet.connections.inputExp == verifyFlatIsr.connections.outputExposure - verifyFlatExp.connections.inputStats == verifyFlatDet.connections.outputStats diff --git a/pipelines/_ingredients/verifyFlatLSST.yaml b/pipelines/_ingredients/verifyFlatLSST.yaml index 918a483..bc7d0b6 100644 --- a/pipelines/_ingredients/verifyFlatLSST.yaml +++ b/pipelines/_ingredients/verifyFlatLSST.yaml @@ -1,4 +1,9 @@ description: cp_verify FLAT calibration verification (LSST ISR task). +imports: + - location: $ANALYSIS_TOOLS_DIR/pipelines/cpCore.yaml + include: + - analyzeFlatCore + - analyzeFlatDetCore tasks: verifyFlatIsr: class: lsst.ip.isr.IsrTaskLSST @@ -49,6 +54,16 @@ tasks: connections.outputResults: "verifyFlatResults" hasInputResults: true hasMatrixCatalog: false + analyzeFlatCore: + class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask + config: + connections.data: "verifyFlatResults" + connections.outputName: "verifyFlatAnalysis" + analyzeFlatDetCore: + class: lsst.analysis.tools.tasks.VerifyCalibAnalysisTask + config: + connections.data: "verifyFlatDetResults" + connections.outputName: "verifyFlatDetAnalysis" contracts: - verifyFlatDet.connections.inputExp == verifyFlatIsr.connections.outputExposure - verifyFlatExp.connections.inputStats == verifyFlatDet.connections.outputStats