AdjustQuantumHelper#
- class lsst.pipe.base.AdjustQuantumHelper(inputs: NamedKeyMapping[DatasetType, Sequence[DatasetRef]], outputs: NamedKeyMapping[DatasetType, Sequence[DatasetRef]], inputs_adjusted: bool = False, outputs_adjusted: bool = False)#
Bases:
objectHelper class for calling
PipelineTaskConnections.adjustQuantum.This class holds
inputsandoutputsmappings in the form used bylsst.daf.butler.Quantumand execution harness code, i.e. withDatasetTypekeys, translating them to and from the connection-oriented mappings used insidePipelineTaskConnections.Attributes Summary
Mapping of regular input and prerequisite input datasets, grouped by
DatasetType.Whether any inputs were removed in the last call to
adjust_in_place.Mapping of output datasets, grouped by
DatasetType.Whether any outputs were removed in the last call to
adjust_in_place.Methods Summary
adjust_in_place(connections, label, data_id)Call
adjustQuantumand updateselfwith its results.Attributes Documentation
- inputs: NamedKeyMapping[DatasetType, Sequence[DatasetRef]] = <dataclasses._MISSING_TYPE object>#
Mapping of regular input and prerequisite input datasets, grouped by
DatasetType.
- inputs_adjusted: bool = False#
Whether any inputs were removed in the last call to
adjust_in_place.
- outputs: NamedKeyMapping[DatasetType, Sequence[DatasetRef]] = <dataclasses._MISSING_TYPE object>#
Mapping of output datasets, grouped by
DatasetType.
- outputs_adjusted: bool = False#
Whether any outputs were removed in the last call to
adjust_in_place.
Methods Documentation
- adjust_in_place(connections: PipelineTaskConnections, label: str, data_id: DataCoordinate) None#
Call
adjustQuantumand updateselfwith its results.Parameters#
- connections
PipelineTaskConnections Instance on which to call
adjustQuantum.- label
str Label for this task in the pipeline (should be used in all diagnostic messages).
- data_id
lsst.daf.butler.DataCoordinate Data ID for this quantum in the pipeline (should be used in all diagnostic messages).
- connections