Skip to content

Commit

Permalink
Enable higher order moments plugins by default
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Dec 20, 2023
1 parent 8958994 commit 962aa21
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions config/enable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
#
# The 'config' should be a SourceMeasurementConfig.
#
# We activate the REGAUSS PSF-corrected shape measurement, and the adaptive moments of the source and PSF.
# We activate the REGAUSS PSF-corrected shape measurement, the adaptive moments of the source and PSF and the
# higher-order moments measurements of the same.

import lsst.meas.extensions.shapeHSM
config.plugins.names |= ["ext_shapeHSM_HsmShapeRegauss", "ext_shapeHSM_HsmSourceMoments",
"ext_shapeHSM_HsmPsfMoments", "ext_shapeHSM_HsmSourceMomentsRound",]

config.plugins.names |= [
"ext_shapeHSM_HsmShapeRegauss",
"ext_shapeHSM_HsmSourceMoments",
"ext_shapeHSM_HsmPsfMoments",
"ext_shapeHSM_HsmSourceMomentsRound",
"ext_shapeHSM_HigherOrderMomentsSource",
"ext_shapeHSM_HigherOrderMomentsPSF",
]
config.slots.shape = "ext_shapeHSM_HsmSourceMoments"
config.slots.psfShape = "ext_shapeHSM_HsmPsfMoments"

0 comments on commit 962aa21

Please sign in to comment.