lsst.ip.diffim gfb11b3eabb+762ba863b1
Loading...
Searching...
No Matches
getTemplate.py File Reference

Go to the source code of this file.

Classes

class  lsst.ip.diffim.getTemplate.GetTemplateConnections
class  lsst.ip.diffim.getTemplate.GetTemplateTask
class  lsst.ip.diffim.getTemplate.GetDcrTemplateConnections

Namespaces

namespace  lsst
namespace  lsst::ip
namespace  lsst::ip::diffim
namespace  lsst.ip.diffim.getTemplate

Functions

 lsst.ip.diffim.getTemplate.setDefaults (self)
 lsst.ip.diffim.getTemplate.checkPatchList (self, patchList)
 lsst.ip.diffim.getTemplate.getDcrModel (self, patchList, coaddRefs, visitInfo)
 lsst.ip.diffim.getTemplate._selectDataRef (coaddRef, tract, patch)

Variables

int lsst.ip.diffim.getTemplate._PSF_STAMP_SIGMAS = 5
 lsst.ip.diffim.getTemplate.output_image_type
type lsst.ip.diffim.getTemplate.allowed
bool lsst.ip.diffim.getTemplate.optional = False,
str lsst.ip.diffim.getTemplate.default = "legacy",
 lsst.ip.diffim.getTemplate.raiseOnUndefinedMaskMap
 lsst.ip.diffim.getTemplate.detectorPolygon = geom.Box2D(bbox)
int lsst.ip.diffim.getTemplate.overlappingArea = 0
 lsst.ip.diffim.getTemplate.dataIds = collections.defaultdict(list)
 lsst.ip.diffim.getTemplate.patchList = dict()
 lsst.ip.diffim.getTemplate.dataId = coaddRef.dataId
 lsst.ip.diffim.getTemplate.subfilter = dataId["subfilter"]
 lsst.ip.diffim.getTemplate.patchWcs = skymap[dataId["tract"]].getWcs()
 lsst.ip.diffim.getTemplate.patchBBox = skymap[dataId["tract"]][dataId["patch"]].getOuterBBox()
 lsst.ip.diffim.getTemplate.patchCorners = patchWcs.pixelToSky(geom.Box2D(patchBBox).getCorners())
 lsst.ip.diffim.getTemplate.patchPolygon = afwGeom.Polygon(wcs.skyToPixel(patchCorners))
 lsst.ip.diffim.getTemplate.coaddExposures = self.getDcrModel(patchList, dcrCoaddExposureHandles, visitInfo)