makeQuantum¶
- lsst.pipe.base.testUtils.makeQuantum(task, butler, dataId, ioDataIds)¶
- Create a Quantum for a particular data ID(s). - Parameters:
- tasklsst.pipe.base.PipelineTask
- The task whose processing the quantum represents. 
- butlerlsst.daf.butler.Butler
- The collection the quantum refers to. 
- dataId: any data ID type
- The data ID of the quantum. Must have the same dimensions as - task’s connections class.
- ioDataIdscollections.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. 
 
- task
- Returns:
- quantumlsst.daf.butler.Quantum
- A quantum for - task, when called with- dataIds.
 
- quantum