makeQuantum¶
-
lsst.pipe.base.testUtils.
makeQuantum
(task: PipelineTask, butler: Butler, dataId: DataId, ioDataIds: Mapping[str, Union[DataId, Sequence[DataId]]]) → Quantum¶ 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.
- dataId: any data ID type
The data ID of the quantum. Must have the same dimensions as
task
’s connections class.- ioDataIds :
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 withdataIds
.
- task :