QuantumIterData

class lsst.pipe.base.QuantumIterData(index: int, quantum: Quantum, taskDef: TaskDef, dependencies: FrozenSet(int))

Bases: object

Helper class for iterating over quanta in a graph.

The QuantumGraph.traverse method 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

dependencies Possibly empty set of indices of dependencies for this Quantum.
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.

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.