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
-
class
GetCoaddAsTemplateTask
(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.
-
method
run
(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¶
coadd name: typically one of ‘deep’, ‘goodSeeing’, or ‘dcr’
templateBorderSize¶
Number of pixels to grow the requested template image to account for warping
warpType¶
Warp type of the coadd template: one of ‘direct’ or ‘psfMatched’