From 8487abbeae34e830cce3dfdcd782e6476a006d35 Mon Sep 17 00:00:00 2001 From: Meredith Rawls Date: Wed, 25 Oct 2023 13:28:28 -0700 Subject: [PATCH] Do multiband streak pixelflag correctly --- python/lsst/pipe/tasks/multiBand.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python/lsst/pipe/tasks/multiBand.py b/python/lsst/pipe/tasks/multiBand.py index c28a26018d..f0c1d99dc1 100644 --- a/python/lsst/pipe/tasks/multiBand.py +++ b/python/lsst/pipe/tasks/multiBand.py @@ -448,12 +448,9 @@ def setDefaults(self): 'base_LocalPhotoCalib', 'base_LocalWcs'] self.measurement.plugins['base_PixelFlags'].masksFpAnywhere = ['CLIPPED', 'SENSOR_EDGE', - 'INEXACT_PSF'] + 'INEXACT_PSF', 'STREAK'] self.measurement.plugins['base_PixelFlags'].masksFpCenter = ['CLIPPED', 'SENSOR_EDGE', - 'INEXACT_PSF'] - # Keep track of which footprints contain streaks - self.measurement.plugins['base_PixelFlags'].masksFpAnywhere = ['STREAK'] - self.measurement.plugins['base_PixelFlags'].masksFpCenter = ['STREAK'] + 'INEXACT_PSF', 'STREAK'] class MeasureMergedCoaddSourcesTask(PipelineTask):