Skip to content

Commit

Permalink
Remove SdssShape from dipoleFit
Browse files Browse the repository at this point in the history
DipoleFitTask doesn't use shape measurements, and SdssShape doesn't
handle negative sources well; detectAndMeasure uses shapeHsm, which is
better.
  • Loading branch information
parejkoj committed May 29, 2024
1 parent c4ef1f6 commit 3b792af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lsst/ip/diffim/dipoleFitTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,14 @@ def setDefaults(self):
"base_PixelFlags",
"base_SkyCoord",
"base_PsfFlux",
"base_SdssShape",
]
# Only measure the apertures we need to report in the alert stream.
self.plugins["base_CircularApertureFlux"].radii = [12.0]

self.slots.calibFlux = None
self.slots.modelFlux = None
self.slots.gaussianFlux = None
self.slots.shape = "base_SdssShape"
self.slots.shape = None
# This will be switched to "ip_diffim_DipoleFit" as this task runs.
self.slots.centroid = "base_SdssCentroid"
self.doReplaceWithNoise = False
Expand Down

0 comments on commit 3b792af

Please sign in to comment.