lsst.pipe.tasks  13.0-59-g0001361c+3
 All Classes Namespaces Files Functions Variables Groups Pages
Classes | Functions | Variables
lsst.pipe.tasks.coaddBase Namespace Reference

Classes

class  CoaddBaseConfig
 Configuration parameters for CoaddBaseTask. More...
 
class  CoaddTaskRunner
 
class  CoaddBaseTask
 Base class for coaddition. More...
 
class  SelectDataIdContainer
 A dataId container for inputs to be selected. More...
 

Functions

def getSkyInfo
 Return the SkyMap, tract and patch information, wcs, and outer bbox of the patch to be coadded. More...
 
def scaleVariance
 Scale the variance in a maskedImage. More...
 

Variables

 applyMosaicResults = None
 
list __all__ = ["CoaddBaseTask", "getSkyInfo"]
 

Function Documentation

def lsst.pipe.tasks.coaddBase.getSkyInfo (   coaddName,
  patchRef 
)

Return the SkyMap, tract and patch information, wcs, and outer bbox of the patch to be coadded.

Parameters
[in]coaddNamecoadd name; typically one of deep or goodSeeing
[in]patchRefdata reference for sky map. Must include keys "tract" and "patch"
Returns
pipe_base Struct containing:
  • skyMap: sky map
  • tractInfo: information for chosen tract of sky map
  • patchInfo: information about chosen patch of tract
  • wcs: WCS of tract
  • bbox: outer bbox of patch, as an afwGeom Box2I

Definition at line 281 of file coaddBase.py.

def lsst.pipe.tasks.coaddBase.scaleVariance (   maskedImage,
  maskPlanes,
  log = None 
)

Scale the variance in a maskedImage.

The variance plane in a convolved or warped image (or a coadd derived from warped images) does not accurately reflect the noise properties of the image because variance has been lost to covariance. This function attempts to correct for this by scaling the variance plane to match the observed variance in the image. This is not perfect (because we're not tracking the covariance) but it's simple and is often good enough.

Parameters
maskedImageMaskedImage to operate on; variance will be scaled
maskPlanesList of mask planes for pixels to reject
logLog for reporting the renormalization factor; or None
Returns
renormalisation factor

Definition at line 312 of file coaddBase.py.

Variable Documentation

list lsst.pipe.tasks.coaddBase.__all__ = ["CoaddBaseTask", "getSkyInfo"]

Definition at line 42 of file coaddBase.py.

lsst.pipe.tasks.coaddBase.applyMosaicResults = None

Definition at line 40 of file coaddBase.py.