From 80fcb17944c24edb098dfe8173061db9e6e12a4d Mon Sep 17 00:00:00 2001 From: Jim Bosch Date: Wed, 9 Oct 2024 15:18:31 -0400 Subject: [PATCH] Use 'pvi', not 'initial_pvi', in forcedPhotCcd. We also turn off using the finalVisitSummary input, which is important for the PhotoCalib, since both pvi and initial_pvi have their pixel values calibrated to nJy and their PhotoCalib reset to the identity. This means forcedPhotCcd's instFlux columns will actually have nJy units, but this is fine since their "DN" is already an arbitrary unit and the LocalPhotoCalib column will reflect this by being full of ones. --- python/lsst/meas/base/forcedPhotCcd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/lsst/meas/base/forcedPhotCcd.py b/python/lsst/meas/base/forcedPhotCcd.py index 5128b8b0..e960519d 100644 --- a/python/lsst/meas/base/forcedPhotCcd.py +++ b/python/lsst/meas/base/forcedPhotCcd.py @@ -54,7 +54,7 @@ class ForcedPhotCcdConnections( PipelineTaskConnections, dimensions=("instrument", "visit", "detector", "skymap", "tract"), - defaultTemplates={"inputCoaddName": "deep", "inputName": "initial_pvi"}, + defaultTemplates={"inputCoaddName": "deep", "inputName": "pvi"}, ): inputSchema = cT.InitInput( doc="Schema for the input measurement catalogs.", @@ -140,7 +140,7 @@ class ForcedPhotCcdConfig(pipeBase.PipelineTaskConfig, pipelineConnections=Force ) useVisitSummary = lsst.pex.config.Field( dtype=bool, - default=True, + default=False, doc=( "Use updated WCS, PhotoCalib, ApCorr, and PSF from visit summary? " "This should be False if and only if the input image already has the best-available calibration " @@ -465,7 +465,7 @@ class ForcedPhotCcdFromDataFrameConnections( dimensions=("instrument", "visit", "detector", "skymap", "tract"), defaultTemplates={ "inputCoaddName": "goodSeeing", - "inputName": "initial_pvi", + "inputName": "pvi", }, ): refCat = cT.Input(