ModelPsfMatchConfig#

class lsst.ip.diffim.ModelPsfMatchConfig(*args, **kw)#

Bases: Config

Configuration for model-to-model Psf matching

Attributes Summary

autoPadPsfTo

Minimum Science Psf dimensions as a fraction of matching kernel dimensions.

doAutoPadPsf

If too small, automatically pad the science Psf? Pad to smallest dimensions appropriate for the matching kernel dimensions, as specified by autoPadPsfTo.

kernel

kernel type (ConfigInstanceDict, default 'AL')

padPsfBy

Pixels (even) to pad Science Psf by before matching.

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

autoPadPsfTo#

Minimum Science Psf dimensions as a fraction of matching kernel dimensions. If the dimensions of the Psf to be matched are less than the matching kernel dimensions * autoPadPsfTo, pad Science Psf to this size. Ignored if doAutoPadPsf=False. (float, default 1.4)

Valid Range = [1.0,2.0)

doAutoPadPsf#

If too small, automatically pad the science Psf? Pad to smallest dimensions appropriate for the matching kernel dimensions, as specified by autoPadPsfTo. If false, pad by the padPsfBy config. (bool, default True)

kernel#

kernel type (ConfigInstanceDict, default 'AL')

padPsfBy#

Pixels (even) to pad Science Psf by before matching. Ignored if doAutoPadPsf=True (int, default 0)

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.