lsst.pipe.base  17.0.1-2-g3e5d191+2
Public Member Functions | Public Attributes | List of all members
lsst.pipe.base.graph.QuantumGraphTaskNodes Class Reference

Public Member Functions

def __init__ (self, taskDef, quanta)
 

Public Attributes

 taskDef
 
 quanta
 

Detailed Description

QuantumGraphTaskNodes represents a bunch of nodes in an quantum graph
corresponding to a single task.

The node in quantum graph is represented by the `PipelineTask` and a
single `~lsst.daf.butler.Quantum` instance. One possible representation
of the graph is just a list of nodes without edges (edges can be deduced
from nodes' quantum inputs and outputs if needed). That representation can
be reduced to the list of PipelineTasks (or their corresponding TaskDefs)
and the corresponding list of Quanta. This class is used in this reduced
representation for a single task, and full `QuantumGraph` is a sequence of
tinstances of this class for one or more tasks.

Different frameworks may use different graph representation, this
representation was based mostly on requirements of command-line
executor which does not need explicit edges information.

Attributes
----------
taskDef : `TaskDef`
    Task defintion for this set of nodes.
quanta : `list` of `~lsst.daf.butler.Quantum`
    List of quanta corresponding to the task.

Definition at line 90 of file graph.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.graph.QuantumGraphTaskNodes.__init__ (   self,
  taskDef,
  quanta 
)

Definition at line 114 of file graph.py.

Member Data Documentation

◆ quanta

lsst.pipe.base.graph.QuantumGraphTaskNodes.quanta

Definition at line 116 of file graph.py.

◆ taskDef

lsst.pipe.base.graph.QuantumGraphTaskNodes.taskDef

Definition at line 115 of file graph.py.


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