LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.pipe.tasks.coaddBase Namespace Reference

Classes

class  CoaddBaseConfig
 
class  CoaddTaskRunner
 
class  CoaddBaseTask
 
class  SelectDataIdContainer
 

Functions

def getSkyInfo
 Return SkyMap, tract and patch. More...
 

Variables

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

Function Documentation

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

Return SkyMap, tract and patch.

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 212 of file coaddBase.py.

213 def getSkyInfo(coaddName, patchRef):
214  """!Return SkyMap, tract and patch
215 
216  @param[in] coaddName coadd name; typically one of deep or goodSeeing
217  @param[in] patchRef data reference for sky map. Must include keys "tract" and "patch"
218 
219  @return pipe_base Struct containing:
220  - skyMap: sky map
221  - tractInfo: information for chosen tract of sky map
222  - patchInfo: information about chosen patch of tract
223  - wcs: WCS of tract
224  - bbox: outer bbox of patch, as an afwGeom Box2I
225  """
226  skyMap = patchRef.get(coaddName + "Coadd_skyMap")
227  tractId = patchRef.dataId["tract"]
228  tractInfo = skyMap[tractId]
229 
230  # patch format is "xIndex,yIndex"
231  patchIndex = tuple(int(i) for i in patchRef.dataId["patch"].split(","))
232  patchInfo = tractInfo.getPatchInfo(patchIndex)
233 
234  return pipeBase.Struct(
235  skyMap = skyMap,
236  tractInfo = tractInfo,
237  patchInfo = patchInfo,
238  wcs = tractInfo.getWcs(),
239  bbox = patchInfo.getOuterBBox(),
240  )
def getSkyInfo
Return SkyMap, tract and patch.
Definition: coaddBase.py:212

Variable Documentation

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

Definition at line 40 of file coaddBase.py.

lsst.pipe.tasks.coaddBase.applyMosaicResults = None

Definition at line 38 of file coaddBase.py.