-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new LSST cti calibration pipeline
- Loading branch information
1 parent
a8c02f4
commit ffa5961
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |