Skip to content

Commit

Permalink
Add flat core analysis tools pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Broughton committed Nov 15, 2024
1 parent 5acceac commit 13e2be3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pipelines/_ingredients/verifyFlat.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions pipelines/_ingredients/verifyFlatLSST.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 13e2be3

Please sign in to comment.