diff --git a/python/lsst/ip/diffim/detectAndMeasure.py b/python/lsst/ip/diffim/detectAndMeasure.py index 9e4206c86..0adf1dd42 100644 --- a/python/lsst/ip/diffim/detectAndMeasure.py +++ b/python/lsst/ip/diffim/detectAndMeasure.py @@ -302,7 +302,6 @@ class DetectAndMeasureConfig(pipeBase.PipelineTaskConfig, "base_PixelFlags_flag_saturatedCenter", "base_PixelFlags_flag_saturated_templateCenter", "base_PixelFlags_flag_spikeCenter", - "base_PixelFlags_flag_spike_templateCenter", ), ) clearMaskPlanes = lsst.pex.config.ListField( @@ -426,11 +425,9 @@ def setDefaults(self): # Keep track of which footprints contain streaks self.measurement.plugins["base_PixelFlags"].masksFpAnywhere = [ - "STREAK", "INJECTED", "INJECTED_TEMPLATE", "HIGH_VARIANCE", "SATURATED_TEMPLATE", - "SPIKE", "SPIKE_TEMPLATE"] + "STREAK", "INJECTED", "INJECTED_TEMPLATE", "HIGH_VARIANCE", "SATURATED_TEMPLATE", "SPIKE"] self.measurement.plugins["base_PixelFlags"].masksFpCenter = [ - "STREAK", "INJECTED", "INJECTED_TEMPLATE", "HIGH_VARIANCE", "SATURATED_TEMPLATE", - "SPIKE", "SPIKE_TEMPLATE"] + "STREAK", "INJECTED", "INJECTED_TEMPLATE", "HIGH_VARIANCE", "SATURATED_TEMPLATE", "SPIKE"] self.skySources.avoidMask = ["DETECTED", "DETECTED_NEGATIVE", "BAD", "NO_DATA", "EDGE"] def validate(self): diff --git a/python/lsst/ip/diffim/subtractImages.py b/python/lsst/ip/diffim/subtractImages.py index bae98b493..073bb78c6 100644 --- a/python/lsst/ip/diffim/subtractImages.py +++ b/python/lsst/ip/diffim/subtractImages.py @@ -284,7 +284,7 @@ class AlardLuptonSubtractBaseConfig(lsst.pex.config.Config): ) renameTemplateMask = lsst.pex.config.ListField( dtype=str, - default=("SAT", "INJECTED", "INJECTED_CORE", "SPIKE"), + default=("SAT", "INJECTED", "INJECTED_CORE",), doc="Mask planes from the template to propagate to the image difference" "with '_TEMPLATE' appended to the name." )