LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.pipe.tasks.coaddBase Namespace Reference

Classes

class  CoaddBaseConfig
 
class  CoaddTaskRunner
 
class  CoaddBaseTask
 
class  SelectDataIdContainer
 

Functions

def getSkyInfo
 

Variables

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

Function Documentation

def lsst.pipe.tasks.coaddBase.getSkyInfo (   coaddName,
  patchRef 
)
Return SkyMap, tract and patch

@param coaddName: coadd name; typically one of deep or goodSeeing
@param patchRef: data reference for sky map. Must include keys "tract" and "patch"

@return 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 coaddName: coadd name; typically one of deep or goodSeeing
217  @param 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  )

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.