HsmPsfMomentsDebiasedConfig#

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

Bases: HsmPsfMomentsConfig

Configuration for debiased HSM adaptive moments measurement for PSFs.

Attributes Summary

addFlux

Store measured flux? (bool, default False)

badMaskPlanes

Mask planes used to reject bad pixels.

doMeasure

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

noiseSource

Noise source.

roundMoments

Use round weight function? (bool, default False)

seedOffset

Seed offset for random number generator.

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)

badMaskPlanes#

Mask planes used to reject bad pixels. (List, default ['BAD', 'SAT'])

doMeasure#

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

noiseSource#

Noise source. How to choose variance of the zero-mean Gaussian noise added to image. (str, default 'variance')

Allowed values:

'meta'

variance = the ‘BGMEAN’ metadata entry

'variance'

variance = the image’s variance plane

'None'

Field is optional

roundMoments#

Use round weight function? (bool, default False)

seedOffset#

Seed offset for random number generator. (int, default 0)

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.