makeQuantum

lsst.pipe.base.testUtils.makeQuantum(task, butler, dataIds)

Create a Quantum for a particular data ID(s).

Parameters:
task : lsst.pipe.base.PipelineTask

The task whose processing the quantum represents.

butler : lsst.daf.butler.Butler

The collection the quantum refers to.

dataIds : collections.abc.Mapping [str]

A mapping keyed by input/output names. Values must be data IDs for single connections and sequences of data IDs for multiple connections.

Returns:
quantum : lsst.daf.butler.Quantum

A quantum for task, when called with dataIds.