QuantumIterData¶
-
class
lsst.pipe.base.QuantumIterData(index: int, quantum: Quantum, taskDef: TaskDef, dependencies: FrozenSet(int))¶ Bases:
objectHelper class for iterating over quanta in a graph.
The
QuantumGraph.traversemethod needs to return topologically ordered Quanta together with their dependencies. This class is used as a value for the iterator, it contains enumerated Quantum and its dependencies.Attributes Summary
dependenciesPossibly empty set of indices of dependencies for this Quantum. indexIndex of this Quantum, a unique but arbitrary integer. quantumQuantum corresponding to a graph node. taskDefTask class to be run on this quantum, and corresponding label and config. Attributes Documentation
-
dependencies¶ Possibly empty set of indices of dependencies for this Quantum. Dependencies include other nodes in the graph; they do not reflect data already in butler (there are no graph nodes for those).
-
index¶ Index of this Quantum, a unique but arbitrary integer.
-
quantum¶ Quantum corresponding to a graph node.
-
taskDef¶ Task class to be run on this quantum, and corresponding label and config.
-