From af9b1eb4d5879b156d318811ee7038bb9f3b62bd Mon Sep 17 00:00:00 2001 From: Lee Kelvin Date: Tue, 24 Sep 2024 10:38:32 -0700 Subject: [PATCH] Move DECam precursor step to its own pipeline --- pipelines/DECam/DRP-Merian.yaml | 10 ++++-- pipelines/DECam/isrForCrosstalkSources.yaml | 37 +++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 pipelines/DECam/isrForCrosstalkSources.yaml diff --git a/pipelines/DECam/DRP-Merian.yaml b/pipelines/DECam/DRP-Merian.yaml index 5a9f9b3..77e221e 100644 --- a/pipelines/DECam/DRP-Merian.yaml +++ b/pipelines/DECam/DRP-Merian.yaml @@ -1,6 +1,12 @@ description: | The DRP pipeline specialized for the DECam instrument, developed against the Merian dataset. + + Prior to running subsets or tasks in this pipeline, the DECam prerequisite + task isrForCrosstalkSources must be run. More information on that task can be + found in the isrForCrosstalkSources.yaml pipeline file. imports: - - $DRP_PIPE_DIR/pipelines/_ingredients/DECam/DRP.yaml - - $ANALYSIS_DRP_DIR/pipelines/analysis_drp_plots.yaml + - location: $DRP_PIPE_DIR/pipelines/_ingredients/DECam/DRP.yaml + exclude: + - isrForCrosstalkSources + - location: $ANALYSIS_DRP_DIR/pipelines/analysis_drp_plots.yaml diff --git a/pipelines/DECam/isrForCrosstalkSources.yaml b/pipelines/DECam/isrForCrosstalkSources.yaml new file mode 100644 index 0000000..99f2156 --- /dev/null +++ b/pipelines/DECam/isrForCrosstalkSources.yaml @@ -0,0 +1,37 @@ +description: | + The DECam prerequisite task isrForCrosstalkSources. + + The isrForCrosstalkSources task generates crosstalk sources for + ISR/inter-chip crosstalk by applying overscan correction on raw frames. A new + dataset is written, which should be used as an input for further DECam data + processing. + + This task is intended to be run once, prior to initial data processing. +instrument: lsst.obs.decam.DarkEnergyCamera +tasks: + isrForCrosstalkSources: + class: lsst.ip.isr.IsrTask + config: + connections.outputExposure: overscanRaw + doOverscan: true + doAssembleCcd: false + doBias: false + doCrosstalk: false + doVariance: false + doLinearize: false + doDefect: false + doNanMasking: false + doDark: false + doFlat: false + doFringe: false + doInterpolate: false +subsets: + step0: + subset: + - isrForCrosstalkSources + description: | + Tasks which should be run once, prior to initial data processing. + + This step generates crosstalk sources for ISR/inter-chip crosstalk by + applying overscan correction on raw frames. A new dataset is written, + which should be used as an input for further data processing.