Skip to content

Commit

Permalink
Add PSF aperture correction delta metric fields
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenam committed May 31, 2024
1 parent b150224 commit a64dc7c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/lsst/afw/image/_exposureSummaryStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ class ExposureSummaryStats(Storable):
max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.
"""

psfApCorrSigmaScaledDelta: float = float('nan')
"""Delta (max - min) of the psf flux aperture correction factors scaled (divided)
by the psfSigma evaluated on a grid of unmasked pixels.
"""

maxDistToNearestPsf: float = float('nan')
"""Maximum distance of an unmasked pixel to its nearest model psf star
(pixels).
Expand Down Expand Up @@ -348,6 +353,12 @@ def update_schema(cls, schema: Schema) -> None:
doc="Delta (max - min) of the model psf aperture flux (with aperture radius of "
"max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.",
)
schema.addField(
"psfApCorrSigmaScaledDelta",
type="F",
doc="Delta (max - min) of the model psf aperture correction factors scaled (divided) "
"by the psfSigma evaluated on a grid of unmasked pixels.",
)
schema.addField(
"maxDistToNearestPsf",
type="F",
Expand Down

0 comments on commit a64dc7c

Please sign in to comment.