Base class for coaddition.
More...
|
def | __init__ (self, **kwargs) |
|
def | selectExposures (self, patchRef, skyInfo=None, selectDataList=[]) |
| Select exposures to coadd.
|
|
def | getSkyInfo (self, patchRef) |
| Use getSkyInfo to return the skyMap, tract and patch information, wcs and the outer bbox of the patch.
|
|
def | getCoaddDatasetName (self, warpType="direct") |
|
def | getTempExpDatasetName (self, warpType="direct") |
|
def | getBadPixelMask (self) |
| Convenience method to provide the bitmask from the mask plane names.
|
|
Base class for coaddition.
Subclasses must specify _DefaultName
Definition at line 141 of file coaddBase.py.
◆ __init__()
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.__init__ |
( |
|
self, |
|
|
** |
kwargs |
|
) |
| |
◆ _getConfigName()
def lsst.pipe.tasks.coaddBase.CoaddBaseTask._getConfigName |
( |
|
self | ) |
|
|
protected |
Return the name of the config dataset
Definition at line 233 of file coaddBase.py.
◆ _getMetadataName()
def lsst.pipe.tasks.coaddBase.CoaddBaseTask._getMetadataName |
( |
|
self | ) |
|
|
protected |
Return the name of the metadata dataset
Definition at line 238 of file coaddBase.py.
◆ _makeArgumentParser()
def lsst.pipe.tasks.coaddBase.CoaddBaseTask._makeArgumentParser |
( |
|
cls | ) |
|
|
protected |
◆ getBadPixelMask()
def lsst.pipe.tasks.coaddBase.CoaddBaseTask.getBadPixelMask |
( |
|
self | ) |
|
Convenience method to provide the bitmask from the mask plane names.
Definition at line 243 of file coaddBase.py.
◆ getCoaddDatasetName()
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 194 of file coaddBase.py.
◆ getSkyInfo()
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.
- Parameters
-
[in] | patchRef | data 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 geom Box2I
Definition at line 177 of file coaddBase.py.
◆ getTempExpDatasetName()
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 208 of file coaddBase.py.
◆ selectExposures()
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 geom.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.
- Parameters
-
[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 |
[in] | selectDataList | list of SelectStruct to consider for selection |
- Returns
- a list of science exposures to coadd, as butler data references
Definition at line 154 of file coaddBase.py.
◆ ConfigClass
◆ RunnerClass
The documentation for this class was generated from the following file: