|
def | __init__ (self, bbox, wcs, badMaskPlanes, logName="coadd.chisquared.Coadd") |
|
def | addExposure (self, exposure, weightFactor=1.0) |
|
Definition at line 30 of file coadd.py.
◆ __init__()
def lsst.coadd.chisquared.coadd.Coadd.__init__ |
( |
|
self, |
|
|
|
bbox, |
|
|
|
wcs, |
|
|
|
badMaskPlanes, |
|
|
|
logName = "coadd.chisquared.Coadd" |
|
) |
| |
Create a chi-squared coadd
Inputs:
@param[in] bbox: bounding box of coadd Exposure with respect to parent (afwGeom.Box2I):
coadd dimensions = bbox.getDimensions(); xy0 = bbox.getMin()
@param[in] wcs: WCS of coadd exposure (lsst.afw.geom.SkyWcs)
@param[in] badMaskPlanes: mask planes to pay attention to when rejecting masked pixels.
Specify as a collection of names.
badMaskPlanes should always include "EDGE".
@param[in] logName: name by which messages are logged
Definition at line 32 of file coadd.py.
◆ addExposure()
def lsst.coadd.chisquared.coadd.Coadd.addExposure |
( |
|
self, |
|
|
|
exposure, |
|
|
|
weightFactor = 1.0 |
|
) |
| |
Add a an exposure to the coadd; it is assumed to have the same WCS as the coadd
Inputs:
@param[in] exposure: Exposure to add to coadd; this must be:
- background-subtracted or background-matched to the other images being coadded
- psf-matched to the desired PSF model (optional)
- warped to match the coadd
@param[in] weightFactor: weight with which to add exposure to coadd
@return
- overlapBBox: region of overlap between exposure and coadd in parent coordinates (afwGeom.Box2I)
- weight: weight with which exposure was added to coadd; weight = weightFactor for this kind of coadd
Definition at line 51 of file coadd.py.
The documentation for this class was generated from the following file: