lsst.pipe.tasks
16.0-18-g95848a16+4
|
Base class for coaddition. More...
Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | selectExposures (self, patchRef, skyInfo=None, selectDataList=[]) |
Select exposures to coadd. More... | |
def | getSkyInfo (self, patchRef) |
Use getSkyinfo to return the skyMap, tract and patch information, wcs and the outer bbox of the patch. More... | |
def | getCalExp (self, dataRef, bgSubtracted) |
Return one "calexp" calibrated exposure. More... | |
def | getCoaddDatasetName (self, warpType="direct") |
def | getTempExpDatasetName (self, warpType="direct") |
def | getBadPixelMask (self) |
Convenience method to provide the bitmask from the mask plane names. More... | |
Static Public Attributes | |
ConfigClass = CoaddBaseConfig | |
RunnerClass = CoaddTaskRunner | |
Base class for coaddition.
Subclasses must specify _DefaultName
Definition at line 94 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 102 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getBadPixelMask | ( | self | ) |
Convenience method to provide the bitmask from the mask plane names.
Definition at line 221 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getCalExp | ( | self, | |
dataRef, | |||
bgSubtracted | |||
) |
Return one "calexp" calibrated exposure.
[in] | dataRef | a sensor-level data reference |
[in] | bgSubtracted | return calexp with background subtracted? If False get the calexp's background background model and add it to the calexp. |
If config.doApplyUberCal, meas_mosaic calibrations will be applied to the returned exposure using applyMosaicResults.
Definition at line 143 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getCoaddDatasetName | ( | self, | |
warpType = "direct" |
|||
) |
Return coadd name for given warpType and task config Parameters ---------- warpType : string Either 'direct' or 'psfMatched' Returns ------- CoaddDatasetName : `string`
Definition at line 171 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getSkyInfo | ( | self, | |
patchRef | |||
) |
Use getSkyinfo to return the skyMap, tract and patch information, wcs and the outer bbox of the patch.
[in] | patchRef | data reference for sky map. Must include keys "tract" and "patch" |
Definition at line 127 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getTempExpDatasetName | ( | self, | |
warpType = "direct" |
|||
) |
Return warp name for given warpType and task config Parameters ---------- warpType : string Either 'direct' or 'psfMatched' Returns ------- WarpDatasetName : `string`
Definition at line 186 of file coaddBase.py.
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.selectExposures | ( | self, | |
patchRef, | |||
skyInfo = None , |
|||
selectDataList = [] |
|||
) |
Select exposures to coadd.
Get the corners of the bbox supplied in skyInfo using afwGeom.Box2D and convert the pixel positions of the bbox corners to sky coordinates using skyInfo.wcs.pixelToSky. Use the WcsSelectImagesTask to select exposures that lie inside the patch indicated by the dataRef.
[in] | patchRef | data reference for sky map patch. Must include keys "tract", "patch", plus the camera-specific filter key (e.g. "filter" or "band") |
[in] | skyInfo | geometry for the patch; output from getSkyInfo |
Definition at line 107 of file coaddBase.py.
|
static |
Definition at line 99 of file coaddBase.py.
|
static |
Definition at line 100 of file coaddBase.py.