From 01b94e6c5dc22c27430b0f30cf6208a6574077e3 Mon Sep 17 00:00:00 2001 From: Meredith Rawls Date: Wed, 26 Mar 2025 00:00:18 -0700 Subject: [PATCH] Add pixelFlags to forced measurement in dynamic detection --- python/lsst/meas/algorithms/dynamicDetection.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/lsst/meas/algorithms/dynamicDetection.py b/python/lsst/meas/algorithms/dynamicDetection.py index 158f0ef8..c707e60c 100644 --- a/python/lsst/meas/algorithms/dynamicDetection.py +++ b/python/lsst/meas/algorithms/dynamicDetection.py @@ -105,7 +105,10 @@ def __init__(self, *args, **kwargs): # Set up forced measurement. config = ForcedMeasurementTask.ConfigClass() - config.plugins.names = ['base_TransformedCentroid', 'base_PsfFlux', 'base_LocalBackground'] + config.plugins.names = ['base_TransformedCentroid', + 'base_PsfFlux', + 'base_LocalBackground', + 'base_PixelFlags'] # We'll need the "centroid" and "psfFlux" slots for slot in ("shape", "psfShape", "apFlux", "modelFlux", "gaussianFlux", "calibFlux"): setattr(config.slots, slot, None)