From de00cf013daa339d055e95e28267af9e233c94eb Mon Sep 17 00:00:00 2001 From: Ian Sullivan Date: Tue, 10 Jun 2025 17:19:39 -0700 Subject: [PATCH] Use a slightly larger binsize for background subtraction The changes on DM-50980 fixed a minor bug that had resulted in using larger bins for background subtraction. --- python/lsst/ip/diffim/detectAndMeasure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/ip/diffim/detectAndMeasure.py b/python/lsst/ip/diffim/detectAndMeasure.py index 5a03ed2ca..b5d8cbf8d 100644 --- a/python/lsst/ip/diffim/detectAndMeasure.py +++ b/python/lsst/ip/diffim/detectAndMeasure.py @@ -252,7 +252,7 @@ def setDefaults(self): self.subtractInitialBackground.doFilterSuperPixels = True # Use a larger binsize for the final background subtraction, to reduce # over-subtraction of bright objects. - self.subtractFinalBackground.binSize = 32 + self.subtractFinalBackground.binSize = 40 self.subtractFinalBackground.useApprox = False self.subtractFinalBackground.statisticsProperty = "MEDIAN" self.subtractFinalBackground.doFilterSuperPixels = True