|
lsst.coadd.utils
15.0-2-g100d730+23
|
Public Member Functions | |
| def | __init__ (self, bbox, wcs, badMaskPlanes, logName="coadd.utils.Coadd") |
| def | fromConfig (cls, bbox, wcs, config, logName="coadd.utils.Coadd") |
| def | addExposure (self, exposure, weightFactor=1.0) |
| def | getCoadd (self) |
| def | getFilters (self) |
| def | getBadPixelMask (self) |
| def | getBBox (self) |
| def | getWcs (self) |
| def | getWeightMap (self) |
Static Public Attributes | |
| ConfigClass = CoaddConfig | |
Coadd by weighted addition This class may be subclassed to implement other coadd techniques. Typically this is done by overriding addExposure.
| def lsst.coadd.utils.coadd.Coadd.__init__ | ( | self, | |
| bbox, | |||
| wcs, | |||
| badMaskPlanes, | |||
logName = "coadd.utils.Coadd" |
|||
| ) |
Create a coadd
@param[in] bbox: bounding box of coadd Exposure with respect to parent (lsst.afw.geom.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 "NO_DATA".
@param[in] logName: name by which messages are logged
| def lsst.coadd.utils.coadd.Coadd.addExposure | ( | self, | |
| exposure, | |||
weightFactor = 1.0 |
|||
| ) |
Add an Exposure to the coadd
@param[in] exposure: Exposure to add to coadd; this should 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
- photometrically scaled to the desired flux magnitude
@param[in] weightFactor: extra weight factor for this exposure
@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 / clipped mean variance
Subclasses may override to preprocess the exposure or change the way it is added to the coadd.
| def lsst.coadd.utils.coadd.Coadd.fromConfig | ( | cls, | |
| bbox, | |||
| wcs, | |||
| config, | |||
logName = "coadd.utils.Coadd" |
|||
| ) |
Create a coadd
@param[in] bbox: bounding box of coadd Exposure with respect to parent (lsst.afw.geom.Box2I):
coadd dimensions = bbox.getDimensions(); xy0 = bbox.getMin()
@param[in] wcs: WCS of coadd exposure (lsst.afw.geom.SKyWcs)
@param[in] config: coadd config; an instance of CoaddConfig
@param[in] logName: name by which messages are logged
| def lsst.coadd.utils.coadd.Coadd.getBadPixelMask | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getBBox | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getCoadd | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getFilters | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getWcs | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getWeightMap | ( | self | ) |
|
static |
1.8.13