HsmSourceMomentsRoundConfig#
- class lsst.meas.extensions.shapeHSM.HsmSourceMomentsRoundConfig(*args, **kw)#
Bases:
HsmSourceMomentsConfigConfiguration for HSM adaptive moments measurement for sources using round weight function.
Attributes Summary
Store measured flux? (
bool, defaultFalse)Mask planes used to reject bad pixels.
whether to run this plugin in single-object mode (
bool, defaultTrue)Use round weight function? (
bool, defaultFalse)Subtract starting center from x/y outputs? (
bool, defaultFalse)Methods Summary
Subclass hook for computing defaults.
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- addFlux#
Store measured flux? (
bool, defaultFalse)
- badMaskPlanes#
Mask planes used to reject bad pixels. (
List, default['BAD', 'SAT'])
- doMeasure#
whether to run this plugin in single-object mode (
bool, defaultTrue)
- roundMoments#
Use round weight function? (
bool, defaultFalse)
- subtractCenter#
Subtract starting center from x/y outputs? (
bool, defaultFalse)
Methods Documentation
- setDefaults()#
Subclass hook for computing defaults.
Notes#
Derived
Configclasses that must compute defaults rather than using theFieldinstances’s defaults should do so here. To correctly use inherited defaults, implementations ofsetDefaultsmust call their base class’ssetDefaults.
- 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
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.