GetCoaddAsTemplateTask

From the given skymap, the closest tract is selected; multiple tracts are not supported. 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 GetCoaddAsTemplateTask
classGetCoaddAsTemplateTask(config=None, name=None, parentTask=None, log=None)

Subtask to retrieve coadd for use as an image difference template...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(tractInfo, patchList, skyCorners, availableCoaddRefs, sensorRef=None, visitInfo=None)

Determination of exposure dimensions and copying of pixels from overlapping patch regions...

See also

See the GetCoaddAsTemplateTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

coaddName

Default
'deep'
Field type

str Field

coadd name: typically one of ‘deep’, ‘goodSeeing’, or ‘dcr’

templateBorderSize

Default
20
Field type

int Field

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

warpType

Default
'direct'
Field type

str Field

Warp type of the coadd template: one of ‘direct’ or ‘psfMatched’