Skip to content

Commit

Permalink
Merge branch 'tickets/DM-37411'
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenam committed Jan 5, 2023
2 parents e014ce0 + 9842dc6 commit bfc92f9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions python/lsst/afw/image/_exposureSummaryStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,16 @@ class ExposureSummaryStats(Storable):
psfStarScaledDeltaSizeScatter: float = float('nan')
"""Psf stars MAD size scatter scaled by psfSize**2."""

psfTraceRadiusDelta: float = float('nan')
"""Delta (max - min) of the model psf trace radius values evaluated on a
grid of unmasked pixels (pixels).
"""

maxDistToNearestPsf: float = float('nan')
"""Maximum distance of an unmasked pixel to its nearest model psf star
(pixels).
"""

def __post_init__(self):
Storable.__init__(self)

Expand Down Expand Up @@ -256,6 +266,17 @@ def update_schema(cls, schema: Schema) -> None:
type="F",
doc="Scatter (via MAD) of size residual scaled by median size squared",
)
schema.addField(
"psfTraceRadiusDelta",
type="F",
doc="Delta (max - min) of the model psf trace radius values evaluated on a grid of "
"unmasked pixels (pixel).",
)
schema.addField(
"maxDistToNearestPsf",
type="F",
doc="Maximum distance of an unmasked pixel to its nearest model psf star (pixel).",
)

def update_record(self, record: BaseRecord) -> None:
"""Write summary-statistic columns into a record.
Expand Down

0 comments on commit bfc92f9

Please sign in to comment.