QuantumIterData

class lsst.pipe.base.QuantumIterData(quantumId, quantum, taskDef, prerequisites)

Bases: object

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 prerequisites.

Parameters:
quantumId : int

Index of this Quantum, unique but arbitrary integer.

quantum : Quantum

Quantum corresponding to a graph node.

taskDef : TaskDef

Task to be run on this quantum.

prerequisites : iterable of int

Possibly empty sequence of indices of prerequisites for this Quantum. Prerequisites include other nodes in a graph, they do not reflect data already in butler (there are no graph nodes for those).

Attributes Summary

prerequisites
quantum
quantumId
taskDef

Attributes Documentation

prerequisites
quantum
quantumId
taskDef