makeQuantum¶
- lsst.pipe.base.testUtils.makeQuantum(task: PipelineTask, butler: Butler, dataId: DataId, ioDataIds: Mapping[str, DataId | Sequence[DataId]]) Quantum¶
- 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. 
- dataIdany 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