lsst.pipe.base  17.0.1-1-g0d345a5+1
Public Member Functions | Public Attributes | List of all members
lsst.pipe.base.graph.QuantumIterData Class Reference

Public Member Functions

def __init__ (self, quantumId, quantum, taskDef, dependencies)
 
def __str__ (self)
 

Public Attributes

 quantumId
 
 quantum
 
 taskDef
 
 dependencies
 

Detailed Description

Helper class for iterating over quanta in a graph.

`QuantumGraph.traverse` method needs to return topologically ordered
Quanta together with their dependencies. This class is used as a value
for iterator, it contains enumerated Quantum and its dependencies.

Parameters
----------
quantumId : `int`
    Index of this Quantum, unique but arbitrary integer.
quantum : `~lsst.daf.butler.Quantum`
    Quantum corresponding to a graph node.
taskDef : `TaskDef`
    Task to be run on this quantum.
dependencies : iterable of `int`
    Possibly empty sequence of indices of dependencies for this Quantum.
    Prerequisites include other nodes in the graph; they do not reflect
    data already in butler (there are no graph nodes for those).

Definition at line 55 of file graph.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.graph.QuantumIterData.__init__ (   self,
  quantumId,
  quantum,
  taskDef,
  dependencies 
)

Definition at line 78 of file graph.py.

Member Function Documentation

◆ __str__()

def lsst.pipe.base.graph.QuantumIterData.__str__ (   self)

Definition at line 84 of file graph.py.

Member Data Documentation

◆ dependencies

lsst.pipe.base.graph.QuantumIterData.dependencies

Definition at line 82 of file graph.py.

◆ quantum

lsst.pipe.base.graph.QuantumIterData.quantum

Definition at line 80 of file graph.py.

◆ quantumId

lsst.pipe.base.graph.QuantumIterData.quantumId

Definition at line 79 of file graph.py.

◆ taskDef

lsst.pipe.base.graph.QuantumIterData.taskDef

Definition at line 81 of file graph.py.


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