lsst.pipe.base  18.1.0-8-ge99a47f+2
Public Member Functions | Public Attributes | List of all members
lsst.pipe.base.graphBuilder._DatasetScaffoldingDict Class Reference
Inheritance diagram for lsst.pipe.base.graphBuilder._DatasetScaffoldingDict:

Public Member Functions

def __init__
 
def fromDatasetTypes
 
def fromSubset
 
def dimensions (self)
 
def unpackRefs (self)
 

Public Attributes

 universe
 

Detailed Description

Custom dictionary that maps `DatasetType` to `_DatasetScaffolding`.

See `_PipelineScaffolding` for a top-down description of the full
scaffolding data structure.

Parameters
----------
args
    Positional arguments are forwarded to the `dict` constructor.
universe : `DimensionUniverse`
    Universe of all possible dimensions.

Definition at line 118 of file graphBuilder.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.__init__ (   self,
  args,
  universe 
)

Definition at line 131 of file graphBuilder.py.

Member Function Documentation

◆ dimensions()

def lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.dimensions (   self,
  DimensionGraph 
)
The union of all dimensions used by all dataset types in this
dictionary, including implied dependencies (`DimensionGraph`).

Definition at line 183 of file graphBuilder.py.

◆ fromDatasetTypes()

def lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.fromDatasetTypes (   cls,
  datasetTypes 
)

Definition at line 136 of file graphBuilder.py.

◆ fromSubset()

def lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.fromSubset (   cls,
  datasetTypes 
)

Definition at line 158 of file graphBuilder.py.

◆ unpackRefs()

def lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.unpackRefs (   self,
  NamedKeyDict 
)
Unpack nested single-element `DatasetRef` lists into a new
dictionary.

This method assumes that each `_DatasetScaffolding.refs` list contains
exactly one `DatasetRef`, as is the case for all "init" datasets.

Returns
-------
dictionary : `NamedKeyDict`
    Dictionary mapping `DatasetType` to `DatasetRef`, with both
    `DatasetType` instances and string names usable as keys.

Definition at line 192 of file graphBuilder.py.

Member Data Documentation

◆ universe

lsst.pipe.base.graphBuilder._DatasetScaffoldingDict.universe

Definition at line 133 of file graphBuilder.py.


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