Skip to content

Commit

Permalink
Merge pull request #353 from lsst/tickets/DM-47384
Browse files Browse the repository at this point in the history
DM-47384: Revert subtractImages sourceSelector switch to calib_psf_used
  • Loading branch information
abudlong authored Nov 6, 2024
2 parents dd07d4d + 226dc7b commit 53b60ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/lsst/ip/diffim/subtractImages.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,10 @@ def setDefaults(self):
self.makeKernel.kernel.active.fitForBackground = self.doSubtractBackground
self.makeKernel.kernel.active.spatialKernelOrder = 1
self.makeKernel.kernel.active.spatialBgOrder = 2
self.sourceSelector.doFlags = True
self.sourceSelector.flags.good = ["calib_psf_used", ]
self.sourceSelector.doUnresolved = True # apply star-galaxy separation
self.sourceSelector.doIsolated = True # apply isolated star selection
self.sourceSelector.doRequirePrimary = True # apply primary flag selection
self.sourceSelector.doSkySources = False # Do not include sky sources
self.sourceSelector.doSignalToNoise = True # apply signal to noise filter
self.sourceSelector.signalToNoise.minimum = 10
self.sourceSelector.signalToNoise.maximum = 500
Expand Down

0 comments on commit 53b60ff

Please sign in to comment.