MakeDiscreteSkyMapTask#
- class lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#
Bases:
TaskMake a DiscreteSkyMap in a repository, using the bounding box of a set of calexps.
The command-line and run signatures and config are sufficiently different from MakeSkyMapTask that we don’t inherit from it, but it is a replacement, so we use the same config/metadata names.
Methods Summary
run(wcs_bbox_tuple_list[, oldSkyMap])Make a SkyMap from the bounds of the given set of calexp metadata.
Methods Documentation
- run(wcs_bbox_tuple_list, oldSkyMap=None)#
Make a SkyMap from the bounds of the given set of calexp metadata.
Parameters#
- wcs_bbox_tuple_list
iterable A list of tuples with each element expected to be a (Wcs, Box2I) pair.
- oldSkyMap
lsst.skymap.DiscreteSkyMap, optional The SkyMap to extend if appending.
Returns#
- skyMap
lsst.pipe.base.Struct Sky map returned as a struct with attributes:
skyMapThe returned SkyMap (
lsst.skyMap.SkyMap).
- wcs_bbox_tuple_list