GetTemplateTask

Build a template from existing coadds, which may span multiple tracts. The assembled template inherits the WCS of the selected skymap tract and the resolution of the template exposures. Overlapping box regions of the input template patches are pixel by pixel copied into the assembled template image. There is no warping or pixel resampling.

Pixels with no overlap of any available input patches are set to nan value and NO_DATA flagged.

Python API summary

from lsst.ip.diffim.getTemplate import GetTemplateTask
classGetTemplateTask(*args, **kwargs)

Base class for all pipeline tasks...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(coaddExposures, bbox, wcs, dataIds, physical_filter)

Warp coadds from multiple tracts and patches to form a template to subtract from a science image...

See also

See the GetTemplateTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

coaddPsf

Data type

lsst.meas.algorithms.CoaddPsfConfig

Field type

ConfigField

Configuration for CoaddPsf

connections

Data type

lsst.pipe.base.config.GetTemplateConfigConnections

Field type

ConfigField

Configurations describing the connections of the PipelineTask to datatypes

saveLogOutput

Default
True
Field type

bool Field

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

templateBorderSize

Default
20
Field type

int Field

Number of pixels to grow the requested template image to account for warping

warp

Data type

lsst.afw.math._warper.WarperConfig

Field type

ConfigField

warper configuration