From 0536f7b36c25cab8df32fa1f8251a1d388f19b31 Mon Sep 17 00:00:00 2001 From: Conghao Zhou Date: Thu, 16 Apr 2026 12:15:49 -0400 Subject: [PATCH 1/5] Add skyCorr into DECam DRP pipeline --- pipelines/_ingredients/DECam/DRP.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pipelines/_ingredients/DECam/DRP.yaml b/pipelines/_ingredients/DECam/DRP.yaml index 3cf64557..936483b1 100644 --- a/pipelines/_ingredients/DECam/DRP.yaml +++ b/pipelines/_ingredients/DECam/DRP.yaml @@ -44,9 +44,10 @@ tasks: class: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask config: photo_calib_provider: "tract" - background_provider: "input_summary" + background_provider: "replacement" connections.photoCalibName: "jointcal" connections.skyWcsName: "jointcal" + connections.background_overrides: "skyCorr" reprocessVisitImage: class: lsst.drp.tasks.reprocess_visit_image.ReprocessVisitImageTask config: @@ -58,6 +59,7 @@ tasks: warper.warpingKernelName: lanczos5 coaddPsf.warpingKernelName: lanczos5 doSelectPreWarp: true + connections.background_apply_list: "skyCorr" python: | from lsst.pipe.tasks.selectImages import PsfWcsSelectImagesTask config.select.retarget(PsfWcsSelectImagesTask) @@ -152,6 +154,7 @@ subsets: subset: - consolidatePreSourceTable - consolidateVisitSummary + - skyCorr - isolatedStarAssociation description: | Global tasks: This is a mix of visit-level and tract-level tasks that From 08730d4850a458940d0b3d2dee2fa1eabdf6d9ab Mon Sep 17 00:00:00 2001 From: Conghao Zhou Date: Thu, 16 Apr 2026 12:30:11 -0400 Subject: [PATCH 2/5] Add amp-offset correction into default DECam ISR --- pipelines/_ingredients/DECam/DRP.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipelines/_ingredients/DECam/DRP.yaml b/pipelines/_ingredients/DECam/DRP.yaml index 936483b1..c2a4778f 100644 --- a/pipelines/_ingredients/DECam/DRP.yaml +++ b/pipelines/_ingredients/DECam/DRP.yaml @@ -34,6 +34,8 @@ tasks: config: connections.crosstalkSources: overscanRaw doCrosstalk: true + doAmpOffset: true + ampOffset.doApplyAmpOffset: true calibrateImage: class: lsst.pipe.tasks.calibrateImage.CalibrateImageTask # TODO: these should live in obs_decam, probably! From 087c9ef2211fabd4501906a285f2ec8ef51ae604 Mon Sep 17 00:00:00 2001 From: Conghao Zhou Date: Sat, 18 Apr 2026 15:37:11 -0400 Subject: [PATCH 3/5] Update fitDeblendedObjectsSersic with Merian bands --- pipelines/DECam/DRP-Merian.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pipelines/DECam/DRP-Merian.yaml b/pipelines/DECam/DRP-Merian.yaml index e78bb728..4fd9cdb8 100644 --- a/pipelines/DECam/DRP-Merian.yaml +++ b/pipelines/DECam/DRP-Merian.yaml @@ -38,6 +38,7 @@ tasks: ) } config.fit_coadd_multiband.action_initializer = MakeCachedChainedInitializerAction() + config.fit_coadd_multiband.bands_fit=['N540', 'N708'] computeObjectEpochs: class: lsst.drp.tasks.compute_object_epochs.ComputeObjectEpochsTask config: From a7afb7b54685845dca95402f1f1795a604cc5b85 Mon Sep 17 00:00:00 2001 From: Conghao Zhou Date: Mon, 20 Apr 2026 11:06:13 -0400 Subject: [PATCH 4/5] Config consolidateObjectTable to use Merian bands --- pipelines/DECam/DRP-Merian.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pipelines/DECam/DRP-Merian.yaml b/pipelines/DECam/DRP-Merian.yaml index 4fd9cdb8..72f71317 100644 --- a/pipelines/DECam/DRP-Merian.yaml +++ b/pipelines/DECam/DRP-Merian.yaml @@ -44,3 +44,10 @@ tasks: config: python: | config.bands=['N540', 'N708'] + consolidateObjectTable: + class: lsst.pipe.tasks.postprocess.ConsolidateObjectTableTask + config: + python: | + config.actions.extendedness.bands = ['N540', 'N708'] + config.actions.extendedness.bands_combined.clear() + config.actions.extendedness.bands_combined["N540_N708"] = "N540,N708" From d5692dee89a5df6e1756b641ad83ad9c6ad9cfa1 Mon Sep 17 00:00:00 2001 From: Lee Kelvin Date: Tue, 21 Apr 2026 05:55:54 -0700 Subject: [PATCH 5/5] Update test_pipelines for new DECam sky inputs --- tests/test_pipelines.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pipelines.py b/tests/test_pipelines.py index 8c280d7f..c6cc9f88 100644 --- a/tests/test_pipelines.py +++ b/tests/test_pipelines.py @@ -381,6 +381,7 @@ def test_decam_drp_merian(self): "linearizer", "overscanRaw", "ps1_pv3_3pi_20170110", + "sky", }, expected_outputs=COMMON_OUTPUTS | {