From 936c26b0b88eaf24b45c61a6de97660c6054b68d Mon Sep 17 00:00:00 2001 From: Lauren MacArthur Date: Wed, 1 May 2024 16:10:53 -0700 Subject: [PATCH] Add PSF aperture correction delta metric fields --- python/lsst/afw/image/_exposureSummaryStats.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/python/lsst/afw/image/_exposureSummaryStats.py b/python/lsst/afw/image/_exposureSummaryStats.py index dd19ed46c..3539e4001 100644 --- a/python/lsst/afw/image/_exposureSummaryStats.py +++ b/python/lsst/afw/image/_exposureSummaryStats.py @@ -127,6 +127,11 @@ class ExposureSummaryStats(Storable): grid of unmasked pixels. """ + psfApCorrDelta: float = float('nan') + """Delta (max - min) of the psf flux aperture correction factors evaluated + on a grid of unmasked pixels. + """ + maxDistToNearestPsf: float = float('nan') """Maximum distance of an unmasked pixel to its nearest model psf star (pixels). @@ -348,6 +353,12 @@ def update_schema(cls, schema: Schema) -> None: doc="Delta (max - min) of the model psf aperture flux values evaluated on a grid of " "unmasked pixels.", ) + schema.addField( + "psfApCorrDelta", + type="F", + doc="Delta (max - min) of the model psf aperture correction factors evaluated on " + "a grid of unmasked pixels.", + ) schema.addField( "maxDistToNearestPsf", type="F",