LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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 "NO_DATA". @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 |