diff --git a/python/lsst/afw/image/_exposureSummaryStats.py b/python/lsst/afw/image/_exposureSummaryStats.py index 0fd4bc032..c2e85a5a6 100644 --- a/python/lsst/afw/image/_exposureSummaryStats.py +++ b/python/lsst/afw/image/_exposureSummaryStats.py @@ -157,6 +157,11 @@ class ExposureSummaryStats(Storable): effTimeZeroPointScale: float = float('nan') """Zeropoint scaling of the effective exposure time.""" + magLim: float = float('nan') + """Magnitude limit at fixed SNR (default SNR=5) calculated from psfSigma, skyBg, + zeroPoint, and readNoise. + """ + def __post_init__(self): Storable.__init__(self) @@ -405,6 +410,13 @@ def update_schema(cls, schema: Schema) -> None: type="F", doc="Zeropoint scaling of the effective exposure time." ) + schema.addField( + "magLim", + type="F", + doc="Magnitude limit at SNR=5 (M5) calculated from psfSigma, " + "skyBg, zeroPoint, and readNoise.", + units="mag", + ) def update_record(self, record: BaseRecord) -> None: """Write summary-statistic columns into a record.