LSSTApplications
16.0-10-g9d3e444,16.0-11-g09ed895+3,16.0-11-g12e47bd+6,16.0-12-g5c924a4+14,16.0-12-g71e5ef5+3,16.0-15-g7af1f30,16.0-15-gdd5ca33+2,16.0-16-gf0259e2+1,16.0-17-g5cf0468+7,16.0-18-ga4d4bcb+8,16.0-18-gcf94535+6,16.0-18-geff7d6b+3,16.0-19-g9d290d5+6,16.0-2-g0febb12+22,16.0-2-g9d5294e+73,16.0-2-ga8830df+7,16.0-21-gdae7b8c,16.0-23-g11577836,16.0-28-gfc9ea6c+13,16.0-29-g79c42fc,16.0-29-ge8801f9+6,16.0-3-ge00e371+41,16.0-4-g18f3627+17,16.0-4-g5f3a788+21,16.0-4-ga3eb747+11,16.0-4-gabf74b7+36,16.0-4-gb13d127+7,16.0-5-g27fb78a+14,16.0-5-g6a53317+41,16.0-5-gb3f8a4b+94,16.0-54-gbf35a124+1,16.0-6-g9321be7+5,16.0-6-gcbc7b31+51,16.0-6-gf49912c+37,16.0-75-gbf7a9a820,16.0-8-g21fd5fe+38,16.0-8-g3a9f023+24,16.0-8-gc11f1cf+4,16.0-9-gf3bc169+4,16.0-9-gf5c1f43+12,master-gc237143d49+1,w.2019.03
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, bbox, wcs, badMaskPlanes, logName="coadd.chisquared.Coadd") |
def | addExposure (self, exposure, weightFactor=1.0) |
def | fromConfig (cls, bbox, wcs, config, logName="coadd.utils.Coadd") |
def | getCoadd (self) |
def | getFilters (self) |
def | getBadPixelMask (self) |
def | getBBox (self) |
def | getWcs (self) |
def | getWeightMap (self) |
Static Public Attributes | |
ConfigClass = CoaddConfig | |
Create a chi-squared coadd. Parameters ---------- bbox : `lsst.afw.geom.Box2I` Bounding box of coadd Exposure with respect to parent: coadd dimensions = bbox.getDimensions(); xy0 = bbox.getMin() wcs : `lsst.afw.geom.SkyWcs` WCS of coadd exposure badMaskPlanes : `list` of `str` Mask planes to pay attention to when rejecting masked pixels. Specify as a collection of names. badMaskPlanes should always include "EDGE". logName : `str`, optional Name by which messages are logged.
def lsst.coadd.chisquared.coadd.Coadd.__init__ | ( | self, | |
bbox, | |||
wcs, | |||
badMaskPlanes, | |||
logName = "coadd.chisquared.Coadd" |
|||
) |
Definition at line 46 of file coadd.py.
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 Parameters ---------- exposure : `lsst.afw.image.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 weightFactor : `float` weight with which to add exposure to coadd Returns ------- overlapBBox : `lsst.afw.geom.Box2I` Region of overlap between ``exposure`` and coadd in parent coordinates. weight : `float` Weight with which ``exposure`` was added to coadd; weight = weightFactor for this kind of coadd.
Definition at line 54 of file coadd.py.
|
inherited |
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
Definition at line 76 of file coadd.py.
|
inherited |
|
inherited |
|
inherited |
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 129 of file coadd.py.
|
inherited |
|
inherited |
|
inherited |
Return the weight map for all exposures you have coadded so far The weight map is a float Image of the same dimensions as the coadd; the value of each pixel is the sum of the weights of all exposures that contributed to that pixel.
Definition at line 172 of file coadd.py.
|
staticinherited |