PredictedQuantumInfo#

class lsst.pipe.base.quantum_graph.PredictedQuantumInfo#

Bases: QuantumInfo

A typed dictionary that annotates the attributes of the NetworkX graph node data for a predicted quantum.

Since NetworkX types are not generic over their node mapping type, this has to be used explicitly, e.g.:

node_data: PredictedQuantumInfo = xgraph.nodes[quantum_id]

where xgraph can be either PredictedQuantumGraph.quantum_only_xgraph or PredictedQuantumGraph.bipartite_xgraph.