|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Public Member Functions | |
| def | __init__ |
| def | fromConfig |
| def | addExposure |
| def | getCoadd |
| def | getFilters |
| def | getBadPixelMask |
| def | getBBox |
| def | getWcs |
| def | getWeightMap |
Static Public Attributes | |
| ConfigClass = CoaddConfig | |
Private Attributes | |
| _log | |
| _bbox | |
| _wcs | |
| _badPixelMask | |
| _coadd | |
| _weightMap | |
| _filterDict | |
| _statsControl | |
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.math.Wcs)
@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 50 of file coadd.py.
| 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.
Definition at line 91 of file coadd.py.
| 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.math.Wcs)
@param[in] config: coadd config; an instance of CoaddConfig
@param[in] logName: name by which messages are logged
Definition at line 75 of file coadd.py.
| def lsst.coadd.utils.coadd.Coadd.getBadPixelMask | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getBBox | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getCoadd | ( | self | ) |
Get the coadd exposure for all exposures you have coadded so far If all exposures in this coadd have the same-named filter then that filter is set in the coadd. Otherwise the coadd will have the default unknown filter. @warning: the Calib is not be set.
Definition at line 128 of file coadd.py.
| def lsst.coadd.utils.coadd.Coadd.getFilters | ( | self | ) |
| def lsst.coadd.utils.coadd.Coadd.getWcs | ( | self | ) |
Return the wcs of the coadd
| def lsst.coadd.utils.coadd.Coadd.getWeightMap | ( | self | ) |
|
static |
1.8.5