From 5d40c8bdf403ba9acf548a8a5dd1fce0c183534d Mon Sep 17 00:00:00 2001 From: Arun Kannawadi Date: Tue, 30 May 2023 11:41:27 -0700 Subject: [PATCH 1/2] Change RequireUnresolved to using sizeExtendedness by default. --- python/lsst/meas/algorithms/sourceSelector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/lsst/meas/algorithms/sourceSelector.py b/python/lsst/meas/algorithms/sourceSelector.py index 16f2f4af..770647a7 100644 --- a/python/lsst/meas/algorithms/sourceSelector.py +++ b/python/lsst/meas/algorithms/sourceSelector.py @@ -418,15 +418,15 @@ class RequireUnresolved(BaseLimit): the limit, and then the `apply` method can be used to identify sources in the catalog that match the configured limit. """ - name = pexConfig.Field(dtype=str, default="base_ClassificationExtendedness_value", + name = pexConfig.Field(dtype=str, default="base_ClassificationSizeExtendedness_value", doc="Name of column for star/galaxy separation") def setDefaults(self): """Set default - ``base_ClassificationExtendedness_value < 0.5`` means unresolved. + ``base_ClassificationSizeExtendedness_value < 0.1`` means unresolved. """ - self.maximum = 0.5 + self.maximum = 0.1 def apply(self, catalog): """Apply the flag requirements to a catalog From 18a8f07f3463843ffb560ad9416d38ee9a2903d0 Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Wed, 28 Feb 2024 10:27:20 -0800 Subject: [PATCH 2/2] Reword confusing docstring line. --- python/lsst/meas/algorithms/sourceSelector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/meas/algorithms/sourceSelector.py b/python/lsst/meas/algorithms/sourceSelector.py index 770647a7..979d603f 100644 --- a/python/lsst/meas/algorithms/sourceSelector.py +++ b/python/lsst/meas/algorithms/sourceSelector.py @@ -424,7 +424,7 @@ class RequireUnresolved(BaseLimit): def setDefaults(self): """Set default - ``base_ClassificationSizeExtendedness_value < 0.1`` means unresolved. + Values below the threshold are unresolved. """ self.maximum = 0.1