Skip to content

Commit

Permalink
Add new LSST cti calibration pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Broughton committed Oct 8, 2024
1 parent a8c02f4 commit ffa5961
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pipelines/_ingredients/cpCtiLSST.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
description: cp_pipe CTI calibration construction
tasks:
cpCtiIsr:
class: lsst.ip.isr.IsrTaskLSST
config:
connections.ccdExposure: "raw"
connections.outputExposure: "cpCtiIsrExp"
connections.outputStatistics: "cpCtiStatistics"
python: |
from lsst.cp.pipe import configureIsrTaskLSSTForCalibrations
configureIsrTaskLSSTForCalibrations(config)
config.doCalculateStatistics = True
config.isrStats.doCtiStatistics = True
config.doDefect = True
config.doApplyGains = True
# TODO: toggle to True when DNL correction is supported
# config.dodiffNonLinearCorrection = True
config.doLinearize = True
cpCtiSolve:
class: lsst.cp.pipe.CpCtiSolveTask
config:
connections.inputMeasurements: "cpCtiStatistics"
connections.outputCalib: "cti"
contracts:
- cpCtiSolve.connections.inputMeasurements == cpCtiIsr.connections.outputStatistics

0 comments on commit ffa5961

Please sign in to comment.