MakeDirectWarpConfig#

class lsst.drp.tasks.make_direct_warp.MakeDirectWarpConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration for the MakeDirectWarpTask.

The config fields are as similar as possible to the corresponding fields in MakeWarpConfig.

Notes#

The config fields are in camelCase to match the fields in the earlier version of the makeWarp task as closely as possible.

Attributes Summary

MAX_NUMBER_OF_NOISE_REALIZATIONS

numberOfNoiseRealizations is defined as a RangeField to prevent from making multiple output connections and blowing up the memory usage by accident.

bgSubtracted

border

Pad the patch boundary of the warp by these many pixels, so as to allow for PSF-matching later (int, default 256)

coaddPsf

Configuration for CoaddPsf (CoaddPsfConfig, default <class 'lsst.meas.algorithms.CoaddPsfConfig'>)

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doApplyFlatBackgroundRatio

Apply flat background ratio prior to background adjustments? Should be True if processing was done with an illumination correction.

doApplyNewBackground

Apply the new backgrounds from the background_apply_list connection? (bool, default False)

doApplySkyCorr

doPreWarpInterpolation

Interpolate over bad pixels before warping? (bool, default False)

doRevertOldBackground

Revert the old backgrounds from the background_revert_list connection? (bool, default False)

doSelectPreWarp

Select ccds before warping? (bool, default True)

doWarpMaskedFraction

Warp the masked fraction image? (bool, default True)

idGenerator

Configuration for how to generate catalog IDs from data IDs.

includeCalibVar

Add photometric calibration variance to warp variance plane? Deprecated: Deprecated and disabled.

inputRecorder

Subtask that helps fill CoaddInputs catalogs added to the final coadd (ConfigurableInstance, default <class 'lsst.pipe.tasks.coaddInputRecorder.CoaddInputRecorderConfig'>)

maskedFractionWarper

Configuration for the warp that warps the mask fraction image (WarperConfig, default <class 'lsst.afw.math._warper.WarperConfig'>)

numberOfNoiseRealizations

Number of noise realizations to simulate and persist.

preWarpInterpolation

Interpolation task to use for pre-warping interpolation (ConfigurableInstance, default <class 'lsst.meas.algorithms.cloughTocher2DInterpolator.CloughTocher2DInterpolateConfig'>)

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

seedOffset

Offset to the seed used for the noise realization.

select

Image selection subtask.

useMedianVariance

Use the median of variance plane in the input calexp to generate noise realizations? If False, per-pixel variance will be used.

useVisitSummaryPhotoCalib

If True, use the photometric calibration from the 'visit_summary' connection to make the warp.

useVisitSummaryPsf

If True, use the PSF model and aperture corrections from the 'visit_summary' connection to make the warp.

useVisitSummaryWcs

If True, use the WCS from the 'visit_summary' connection to make the warp.

warper

Configuration for the warper that warps the image and noise (WarperConfig, default <class 'lsst.afw.math._warper.WarperConfig'>)

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

MAX_NUMBER_OF_NOISE_REALIZATIONS = 3#

numberOfNoiseRealizations is defined as a RangeField to prevent from making multiple output connections and blowing up the memory usage by accident. An upper bound of 3 is based on the best guess of the maximum number of noise realizations that will be used for metadetection.

bgSubtracted#
border#

Pad the patch boundary of the warp by these many pixels, so as to allow for PSF-matching later (int, default 256)

coaddPsf#

Configuration for CoaddPsf (CoaddPsfConfig, default <class 'lsst.meas.algorithms.CoaddPsfConfig'>)

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doApplyFlatBackgroundRatio#

Apply flat background ratio prior to background adjustments? Should be True if processing was done with an illumination correction. (bool, default False)

doApplyNewBackground#

Apply the new backgrounds from the background_apply_list connection? (bool, default False)

doApplySkyCorr#
doPreWarpInterpolation#

Interpolate over bad pixels before warping? (bool, default False)

doRevertOldBackground#

Revert the old backgrounds from the background_revert_list connection? (bool, default False)

doSelectPreWarp#

Select ccds before warping? (bool, default True)

doWarpMaskedFraction#

Warp the masked fraction image? (bool, default True)

idGenerator#

Configuration for how to generate catalog IDs from data IDs. (DetectorVisitIdGeneratorConfig, default <class 'lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig'>)

includeCalibVar#

Add photometric calibration variance to warp variance plane? Deprecated: Deprecated and disabled. Will be removed after v29. (bool, default False)

inputRecorder#

Subtask that helps fill CoaddInputs catalogs added to the final coadd (ConfigurableInstance, default <class 'lsst.pipe.tasks.coaddInputRecorder.CoaddInputRecorderConfig'>)

maskedFractionWarper#

Configuration for the warp that warps the mask fraction image (WarperConfig, default <class 'lsst.afw.math._warper.WarperConfig'>)

numberOfNoiseRealizations#

Number of noise realizations to simulate and persist. (int, default 0)

Valid Range = [0,3]

preWarpInterpolation#

Interpolation task to use for pre-warping interpolation (ConfigurableInstance, default <class 'lsst.meas.algorithms.cloughTocher2DInterpolator.CloughTocher2DInterpolateConfig'>)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

seedOffset#

Offset to the seed used for the noise realization. This can be used to create a different noise realization if the default ones are catastrophic, or for testing sensitivity to the noise. (int, default 0)

select#

Image selection subtask. (ConfigurableInstance, default <class 'lsst.pipe.tasks.selectImages.PsfWcsSelectImagesConfig'>)

useMedianVariance#

Use the median of variance plane in the input calexp to generate noise realizations? If False, per-pixel variance will be used. (bool, default True)

useVisitSummaryPhotoCalib#

If True, use the photometric calibration from the ‘visit_summary’ connection to make the warp. If False, use the photometric calibration from the ‘calexp’ connection. (bool, default True)

useVisitSummaryPsf#

If True, use the PSF model and aperture corrections from the ‘visit_summary’ connection to make the warp. If False, use the PSF model and aperture corrections from the ‘calexp’ connection. (bool, default True)

useVisitSummaryWcs#

If True, use the WCS from the ‘visit_summary’ connection to make the warp. If False, use the WCS from the ‘calexp’ connection. (bool, default True)

warper#

Configuration for the warper that warps the image and noise (WarperConfig, default <class 'lsst.afw.math._warper.WarperConfig'>)

Methods Documentation

setDefaults() None#

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.