lsst.pipe.tasks g4a6547c0d5+de68eba77a
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask Class Reference

Make a DiscreteSkyMap in a repository, using the bounding box of a set of calexps. More...

Inheritance diagram for lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.__init__ (   self,
**  kwargs 
)

Definition at line 127 of file makeDiscreteSkyMap.py.

Member Function Documentation

◆ run()

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.

◆ runDataRef()

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.

Member Data Documentation

◆ ConfigClass

lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.ConfigClass = MakeDiscreteSkyMapConfig
static

Definition at line 123 of file makeDiscreteSkyMap.py.

◆ RunnerClass

lsst.pipe.tasks.makeDiscreteSkyMap.MakeDiscreteSkyMapTask.RunnerClass = MakeDiscreteSkyMapRunner
static

Definition at line 125 of file makeDiscreteSkyMap.py.


The documentation for this class was generated from the following file: