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: Task

Make 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_listiterable

A list of tuples with each element expected to be a (Wcs, Box2I) pair.

oldSkyMaplsst.skymap.DiscreteSkyMap, optional

The SkyMap to extend if appending.

Returns#

skyMaplsst.pipe.base.Struct

Sky map returned as a struct with attributes:

skyMap

The returned SkyMap (lsst.skyMap.SkyMap).