Skip to content

Commit

Permalink
Set maxDistToPeak
Browse files Browse the repository at this point in the history
maxDisToPeak was defaulting to the -1 value, this sets its value of 5 pixels before resetting back to the peak value.
  • Loading branch information
bsmartradio committed May 22, 2023
1 parent 004a122 commit 72e2653
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/ip/diffim/detectAndMeasure.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def setDefaults(self):
]
self.measurement.slots.psfShape = "ext_shapeHSM_HsmPsfMoments"
self.measurement.slots.shape = "ext_shapeHSM_HsmSourceMoments"

self.measurement.plugins["base_NaiveCentroid"].maxDistToPeak = 5.0
self.measurement.plugins["base_SdssCentroid"].maxDistToPeak = 5.0
self.forcedMeasurement.plugins = ["base_TransformedCentroid", "base_PsfFlux"]
self.forcedMeasurement.copyColumns = {
"id": "objectId", "parent": "parentObjectId", "coord_ra": "coord_ra", "coord_dec": "coord_dec"}
Expand Down

0 comments on commit 72e2653

Please sign in to comment.