Skip to content

Commit

Permalink
Fix known issues with Zogy, decorrelation
Browse files Browse the repository at this point in the history
  • Loading branch information
djreiss committed Sep 19, 2017
1 parent a8c9ca5 commit d5a7f96
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/lsst/pipe/tasks/imageDifference.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ def setDefaults(self):
self.detection.thresholdType = "pixel_stdev"

# Add filtered flux measurement, the correct measurement for pre-convolved images.
# Enable all measurements, regardless of doPreConvolved, as it makes data harvesting easier.
# Enable all measurements, regardless of doPreConvolve, as it makes data harvesting easier.
# To change that you must modify algorithms.names in the task's applyOverrides method,
# after the user has set doPreConvolved.
# after the user has set doPreConvolve.
self.measurement.algorithms.names.add('base_PeakLikelihoodFlux')

# For shuffling the control sample
Expand Down Expand Up @@ -323,7 +323,8 @@ def run(self, sensorRef, templateIdList=None):
spatiallyVarying = self.config.doSpatiallyVarying
subtractRes = self.subtract.subtractExposures(templateExposure, exposure,
doWarping=True,
spatiallyVarying=spatiallyVarying)
spatiallyVarying=spatiallyVarying,
doPreConvolve=self.config.doPreConvolve)
subtractedExposure = subtractRes.subtractedExposure

elif self.config.subtract.name == 'al':
Expand Down

0 comments on commit d5a7f96

Please sign in to comment.