From d2fc9645a598e61915022e98cd02124a19a0f112 Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Mon, 3 Aug 2026 10:23:49 -0700 Subject: [PATCH 1/2] Add comment explaining why the TEX values are in the visit table. --- python/lsst/pipe/tasks/postprocess.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/lsst/pipe/tasks/postprocess.py b/python/lsst/pipe/tasks/postprocess.py index 27c5fba27..96d9d0252 100644 --- a/python/lsst/pipe/tasks/postprocess.py +++ b/python/lsst/pipe/tasks/postprocess.py @@ -1914,6 +1914,9 @@ def run(self, visitSummaries): visitEntry["obsStart"] = visitEntry["expMidpt"] - 0.5 * np.timedelta64(int(expTime * 1E9), "ns") expTime_days = expTime / (60*60*24) visitEntry["obsStartMJD"] = visitEntry["expMidptMJD"] - 0.5 * expTime_days + + # Note that these are computed per-visit and stored identically + # in each row, so we can use the first row values. visitEntry["psfTE1e1"] = visitRow["psfTE1e1"] visitEntry["psfTE1e2"] = visitRow["psfTE1e2"] visitEntry["psfTE1ex"] = visitRow["psfTE1ex"] @@ -1926,6 +1929,7 @@ def run(self, visitSummaries): visitEntry["psfTE4e1"] = visitRow["psfTE4e1"] visitEntry["psfTE4e2"] = visitRow["psfTE4e2"] visitEntry["psfTE4ex"] = visitRow["psfTE4ex"] + visitEntries.append(visitEntry) # TODO: DM-30623, Add programId, exposureType, cameraTemp, From 9ed81574d639f0a35424d3163f519a86f5129712 Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Mon, 3 Aug 2026 10:24:18 -0700 Subject: [PATCH 2/2] Add psfArea, psfIxx, psfIxy, psfIyy to visit detector table. --- python/lsst/pipe/tasks/postprocess.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/lsst/pipe/tasks/postprocess.py b/python/lsst/pipe/tasks/postprocess.py index 96d9d0252..a0e4f2d76 100644 --- a/python/lsst/pipe/tasks/postprocess.py +++ b/python/lsst/pipe/tasks/postprocess.py @@ -1744,7 +1744,9 @@ def run(self, visitSummaryRefs): summaryTable = visitSummary.asAstropy() selectColumns = ["id", "visit", "physical_filter", "band", "ra", "dec", "pixelScale", "zenithDistance", - "expTime", "zeroPoint", "psfSigma", "skyBg", "skyNoise", + "expTime", "zeroPoint", "psfSigma", + "psfArea", "psfIxx", "psfIyy", "psfIxy", + "skyBg", "skyNoise", "psfAdaptiveThresholdValue", "psfAdaptiveIncludeThresholdMultiplier", "nShapeletsStar", "shapeletsOnlyIqScore", "shapeletsIqScore", "centroidDiffShapeletsVsSlotMedian",