lsst.ip.diffim g1186b97052+794a95a196
|
Classes | |
class | GetCalexpAsTemplateConfig |
class | GetCalexpAsTemplateTask |
class | GetCoaddAsTemplateConfig |
class | GetCoaddAsTemplateTask |
class | GetMultiTractCoaddTemplateConnections |
Functions | |
def | run (self, coaddExposures, bbox, wcs) |
Variables | |
detectorPolygon = geom.Box2D(inputs['bbox']) | |
int | overlappingArea = 0 |
list | coaddExposureList = [] |
dataId = coaddRef.dataId | |
patchWcs = inputs['skyMap'][dataId['tract']].getWcs() | |
patchBBox = inputs['skyMap'][dataId['tract']][dataId['patch']].getOuterBBox() | |
patchCorners = patchWcs.pixelToSky(geom.Box2D(patchBBox).getCorners()) | |
patchPolygon = afwGeom.Polygon(inputs['wcs'].skyToPixel(patchCorners)) | |
def lsst.ip.diffim.getTemplate.run | ( | self, | |
coaddExposures, | |||
bbox, | |||
wcs | |||
) |
Warp coadds from multiple tracts to form a template for image diff. Where the tracts overlap, the resulting template image is averaged. The PSF on the template is created by combining the CoaddPsf on each template image into a meta-CoaddPsf. Parameters ---------- coaddExposures: list of DeferredDatasetHandle to `lsst.afw.image.Exposure` Coadds to be mosaicked bbox : `lsst.geom.Box2I` Template Bounding box of the detector geometry onto which to resample the coaddExposures wcs : `lsst.afw.geom.SkyWcs` Template WCS onto which to resample the coaddExposures Returns ------- result : `struct` return a pipeBase.Struct: - ``outputExposure`` : a template coadd exposure assembled out of patches Raises ------ NoWorkFound Raised if no patches overlatp the input detector bbox
Definition at line 602 of file getTemplate.py.
list lsst.ip.diffim.getTemplate.coaddExposureList = [] |
Definition at line 584 of file getTemplate.py.
lsst.ip.diffim.getTemplate.dataId = coaddRef.dataId |
Definition at line 586 of file getTemplate.py.
lsst.ip.diffim.getTemplate.detectorPolygon = geom.Box2D(inputs['bbox']) |
Definition at line 582 of file getTemplate.py.
int lsst.ip.diffim.getTemplate.overlappingArea = 0 |
Definition at line 583 of file getTemplate.py.
lsst.ip.diffim.getTemplate.patchBBox = inputs['skyMap'][dataId['tract']][dataId['patch']].getOuterBBox() |
Definition at line 588 of file getTemplate.py.
lsst.ip.diffim.getTemplate.patchCorners = patchWcs.pixelToSky(geom.Box2D(patchBBox).getCorners()) |
Definition at line 589 of file getTemplate.py.
lsst.ip.diffim.getTemplate.patchPolygon = afwGeom.Polygon(inputs['wcs'].skyToPixel(patchCorners)) |
Definition at line 590 of file getTemplate.py.
lsst.ip.diffim.getTemplate.patchWcs = inputs['skyMap'][dataId['tract']].getWcs() |
Definition at line 587 of file getTemplate.py.