lsst.pipe.tasks
21.0.0-151-g12957622+bc970add80
|
Make a DiscreteSkyMap in a repository, using the bounding box of a set of calexps. More...
Public Member Functions | |
def | __init__ (self, **kwargs) |
def | runDataRef (self, butler, dataRefList) |
def | run (self, wcs_bbox_tuple_list, oldSkyMap=None) |
Static Public Attributes | |
ConfigClass = MakeDiscreteSkyMapConfig | |
RunnerClass = MakeDiscreteSkyMapRunner | |
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.
Definition at line 117 of file makeDiscreteSkyMap.py.
def lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.__init__ | ( | self, | |
** | kwargs | ||
) |
Definition at line 127 of file makeDiscreteSkyMap.py.
def lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.run | ( | self, | |
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`, option The SkyMap to extend if appending Returns ------- struct : `lsst.pipe.base.Struct The returned struct has one attribute, ``skyMap``, which holds the returned SkyMap
Definition at line 166 of file makeDiscreteSkyMap.py.
def lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.runDataRef | ( | self, | |
butler, | |||
dataRefList | |||
) |
Make a skymap from the bounds of the given set of calexps using the butler. Parameters ---------- butler : `lsst.daf.persistence.Butler` Gen2 data butler used to save the SkyMap dataRefList : iterable A list of Gen2 data refs of calexps used to determin the size and pointing of the SkyMap Returns ------- struct : `lsst.pipe.base.Struct` The returned struct has one attribute, ``skyMap``, which holds the returned SkyMap
Definition at line 130 of file makeDiscreteSkyMap.py.
|
static |
Definition at line 123 of file makeDiscreteSkyMap.py.
|
static |
Definition at line 125 of file makeDiscreteSkyMap.py.