InterpImageConfig#
- class lsst.pipe.tasks.interpImage.InterpImageConfig(*args, **kw)#
Bases:
ConfigConfig for InterpImageTask
Attributes Summary
If fallbackValueType is 'USER' then use this as the fallbackValue; ignored otherwise (
float, default0.0)Type of statistic to calculate edge fallbackValue for interpolation (
str, default'MEDIAN')Model Psf factory (
ConfigurableInstance, default<class 'lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory'>)Allow negative values for egde interpolation fallbackValue? If False, set fallbackValue to max(fallbackValue, 0.0) (
bool, defaultFalse)Transpose image before interpolating? This allows the interpolation to act over columns instead of rows.
Smoothly taper to the fallback value at the edge of the image? (
bool, defaultTrue)Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- fallbackUserValue#
If fallbackValueType is ‘USER’ then use this as the fallbackValue; ignored otherwise (
float, default0.0)
- fallbackValueType#
Type of statistic to calculate edge fallbackValue for interpolation (
str, default'MEDIAN')Allowed values:
'MEAN'mean
'MEDIAN'median
'MEANCLIP'clipped mean
'USER'user value set in fallbackUserValue config
'None'Field is optional
- modelPsf#
Model Psf factory (
ConfigurableInstance, default<class 'lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory'>)
- negativeFallbackAllowed#
Allow negative values for egde interpolation fallbackValue? If False, set fallbackValue to max(fallbackValue, 0.0) (
bool, defaultFalse)
- transpose#
Transpose image before interpolating? This allows the interpolation to act over columns instead of rows. (
int, defaultFalse)
- useFallbackValueAtEdge#
Smoothly taper to the fallback value at the edge of the image? (
bool, defaultTrue)
Methods Documentation
- 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.