HsmSourceMomentsRoundConfig#

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

Bases: HsmSourceMomentsConfig

Configuration for HSM adaptive moments measurement for sources using round weight function.

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)

roundMoments

Use round weight function? (bool, default False)

subtractCenter

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

Methods Summary

setDefaults()

Subclass hook for computing defaults.

validate()

Validate the Config, raising an exception if invalid.

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)

roundMoments#

Use round weight function? (bool, default False)

subtractCenter#

Subtract starting center from x/y outputs? (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.

validate()#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.