MeasurePsfConfig#

class lsst.pipe.tasks.measurePsf.MeasurePsfConfig(*args, **kw)#

Bases: Config

Attributes Summary

makePsfCandidates

Task to make psf candidates from selected stars.

psfDeterminer

PSF Determination algorithm (RegistryInstanceDict, default 'psfex')

reserve

Reserve sources from fitting (ConfigurableInstance, default <class 'lsst.meas.algorithms.reserveSourcesTask.ReserveSourcesConfig'>)

starSelector

Star selection algorithm (RegistryInstanceDict, default 'objectSize')

Methods Summary

setDefaults()

Subclass hook for computing defaults.

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

makePsfCandidates#

Task to make psf candidates from selected stars. (ConfigurableInstance, default <class 'lsst.meas.algorithms.makePsfCandidates.MakePsfCandidatesConfig'>)

psfDeterminer#

PSF Determination algorithm (RegistryInstanceDict, default 'psfex')

reserve#

Reserve sources from fitting (ConfigurableInstance, default <class 'lsst.meas.algorithms.reserveSourcesTask.ReserveSourcesConfig'>)

starSelector#

Star selection algorithm (RegistryInstanceDict, default 'objectSize')

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.