MakeDirectWarpTask

Warp single visit images (calexps or PVIs) onto a common projection by performing the following operations:

  • Group the single-visit images by visit/run

  • For each visit, generate a Warp by calling method @ref run.

Python API summary

from lsst.drp.tasks.make_direct_warp import MakeDirectWarpTask
classMakeDirectWarpTask(**kwargs)

Warp single-detector images onto a common projection...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(inputs, sky_info, visit_summary)

Create a Warp dataset from inputs...

See also

See the MakeDirectWarpTask API reference for complete details.

Retargetable subtasks

inputRecorder

Default

lsst.pipe.tasks.coaddInputRecorder.CoaddInputRecorderTask

Field type

ConfigurableField

Subtask that helps fill CoaddInputs catalogs added to the final coadd

preWarpInterpolation

Default

lsst.meas.algorithms.cloughTocher2DInterpolator.CloughTocher2DInterpolateTask

Field type

ConfigurableField

Interpolation task to use for pre-warping interpolation

select

Default

lsst.pipe.tasks.selectImages.PsfWcsSelectImagesTask

Field type

ConfigurableField

Image selection subtask.

Configuration fields

border

Default
256
Field type

int Field

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

coaddPsf

Data type

lsst.meas.algorithms.CoaddPsfConfig

Field type

ConfigField

Configuration for CoaddPsf

connections

Data type

lsst.pipe.base.config.MakeDirectWarpConfigConnections

Field type

ConfigField

Configurations describing the connections of the PipelineTask to datatypes

doApplyNewBackground

Default
False
Field type

bool Field

Apply the new backgrounds from the background_apply_list connection?

doPreWarpInterpolation

Default
False
Field type

bool Field

Interpolate over bad pixels before warping?

doRevertOldBackground

Default
False
Field type

bool Field

Revert the old backgrounds from the background_revert_list connection?

doSelectPreWarp

Default
True
Field type

bool Field

Select ccds before warping?

doWarpMaskedFraction

Default
False
Field type

bool Field

Warp the masked fraction image?

idGenerator

Data type

lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig

Field type

ConfigField

Configuration for how to generate catalog IDs from data IDs.

includeCalibVar

Default
False
Field type

bool Field

Add photometric calibration variance to warp variance plane?

maskedFractionWarper

Data type

lsst.afw.math._warper.WarperConfig

Field type

ConfigField

Configuration for the warp that warps the mask fraction image

numberOfNoiseRealizations

Default
0
Field type

int RangeField

Range

[0,3]

Number of noise realizations to simulate and persist.

saveLogOutput

Default
True
Field type

bool Field

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

seedOffset

Default
0
Field type

int Field

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.

useMedianVariance

Default
True
Field type

bool Field

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

useVisitSummaryPsf

Default
True
Field type

bool Field

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.

warper

Data type

lsst.afw.math._warper.WarperConfig

Field type

ConfigField

Configuration for the warper that warps the image and noise