HsmPsfMomentsConfig#

class lsst.meas.extensions.shapeHSM.HsmPsfMomentsConfig(*args, **kw)#

Bases: HsmMomentsConfig

Configuration for HSM adaptive moments measurement for PSFs.

Attributes Summary

addFlux

Store measured flux? (bool, default False)

doMeasure

whether to run this plugin in single-object mode (bool, default True)

roundMoments

Use round weight function? (bool, default False)

subtractCenter

Subtract starting center from x/y outputs? (bool, default False)

useSourceCentroidOffset

If True, then draw the PSF to be measured in the coordinate system of the original image (the PSF model origin - which is commonly the PSF centroid - may end up near a pixel edge or corner).

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

addFlux#

Store measured flux? (bool, default False)

doMeasure#

whether to run this plugin in single-object mode (bool, default True)

roundMoments#

Use round weight function? (bool, default False)

subtractCenter#

Subtract starting center from x/y outputs? (bool, default False)

useSourceCentroidOffset#

If True, then draw the PSF to be measured in the coordinate system of the original image (the PSF model origin - which is commonly the PSF centroid - may end up near a pixel edge or corner). If False, then draw the PSF to be measured in a shifted coordinate system such that the PSF model origin lands precisely in the center of the central pixel of the PSF image. (bool, default False)

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

Notes#

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.