Skip to content

Commit 40401b3

Browse files
committed
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.
1 parent 308b7ae commit 40401b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/lsst/meas/base/forcedPhotCcd.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
class ForcedPhotCcdConnections(
5555
PipelineTaskConnections,
5656
dimensions=("instrument", "visit", "detector", "skymap", "tract"),
57-
defaultTemplates={"inputCoaddName": "deep", "inputName": "initial_pvi"},
57+
defaultTemplates={"inputCoaddName": "deep", "inputName": "pvi"},
5858
):
5959
inputSchema = cT.InitInput(
6060
doc="Schema for the input measurement catalogs.",
@@ -140,7 +140,7 @@ class ForcedPhotCcdConfig(pipeBase.PipelineTaskConfig, pipelineConnections=Force
140140
)
141141
useVisitSummary = lsst.pex.config.Field(
142142
dtype=bool,
143-
default=True,
143+
default=False,
144144
doc=(
145145
"Use updated WCS, PhotoCalib, ApCorr, and PSF from visit summary? "
146146
"This should be False if and only if the input image already has the best-available calibration "

0 commit comments

Comments
 (0)