lsst.ip.diffim g174f8ebed5+ec711f8d5b
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.GetDcrTemplateConnections

Namespaces

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

Functions

 lsst.ip.diffim.getTemplate.run (self, *, coaddExposureHandles, bbox, wcs, dataIds, physical_filter, visit=None)
 lsst.ip.diffim.getTemplate.checkHighVariance (self, template)
 lsst.ip.diffim.getTemplate._makeExposureCatalog (self, exposureRefs, dataIds)
 lsst.ip.diffim.getTemplate._merge (self, maskedImages, bbox, wcs)
 lsst.ip.diffim.getTemplate._makePsf (self, template, catalog, wcs)
 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

 lsst.ip.diffim.getTemplate.detectorPolygon = geom.Box2D(bbox)
 lsst.ip.diffim.getTemplate.detectorCorners = wcs.pixelToSky(detectorPolygon.getCorners())
int lsst.ip.diffim.getTemplate.overlappingArea = 0
 lsst.ip.diffim.getTemplate.coaddExposures = collections.defaultdict(list)
 lsst.ip.diffim.getTemplate.dataIds = collections.defaultdict(list)
 lsst.ip.diffim.getTemplate.dataId = coaddRef.dataId
 lsst.ip.diffim.getTemplate.patchWcs = skymap[dataId["tract"]].getWcs()
 lsst.ip.diffim.getTemplate.patchBBox = skymap[dataId["tract"]][dataId["patch"]].getOuterBBox()
 lsst.ip.diffim.getTemplate.patchPolygon = afwGeom.Polygon(geom.Box2D(patchBBox))
 lsst.ip.diffim.getTemplate.detectorInPatchCoordinates = afwGeom.Polygon(patchWcs.skyToPixel(detectorCorners))
 lsst.ip.diffim.getTemplate.patchList = dict()
 lsst.ip.diffim.getTemplate.subfilter = dataId["subfilter"]
 lsst.ip.diffim.getTemplate.patchCorners = patchWcs.pixelToSky(geom.Box2D(patchBBox).getCorners())