makeSkyInfo

lsst.pipe.tasks.coaddBase.makeSkyInfo(skyMap, tractId, patchId)

Constructs SkyInfo used by coaddition tasks for multiple patchId formats.

Parameters:
skyMap : lsst.skyMap.SkyMap

Sky map.

tractId : int

The ID of the tract.

patchId : str or int or tuple of int

Either Gen2-style comma delimited string (e.g. ‘4,5’), tuple of integers (e.g (4, 5), Gen3-style integer.

Returns:
makeSkyInfo : lsst.pipe.base.Struct

pipe_base Struct with attributes:

skyMap

Sky map (lsst.skyMap.SkyMap).

tractInfo

Information for chosen tract of sky map (lsst.skyMap.TractInfo).

patchInfo

Information about chosen patch of tract (lsst.skyMap.PatchInfo).

wcs

WCS of tract (lsst.afw.image.SkyWcs).

bbox

Outer bbox of patch, as an geom Box2I (lsst.afw.geom.Box2I).