DiaPipelineConnections¶
-
class
lsst.ap.association.
DiaPipelineConnections
(*, config=None)¶ Bases:
lsst.pipe.base.PipelineTaskConnections
Butler connections for DiaPipelineTask.
Attributes Summary
allConnections
apdbMarker
associatedDiaSources
defaultTemplates
diaSourceTable
diffIm
dimensions
exposure
initInputs
initOutputs
inputs
outputs
prerequisiteInputs
warpedExposure
Methods Summary
adjustQuantum
(datasetRefMap)Override to make adjustments to lsst.daf.butler.DatasetRef
objects in thelsst.daf.butler.core.Quantum
during the graph generation stage of the activator.buildDatasetRefs
(quantum)Builds QuantizedConnections corresponding to input Quantum Attributes Documentation
-
allConnections
= {'apdbMarker': Output(name='apdb_marker', storageClass='Config', doc='Marker dataset storing the configuration of the Apdb for each visit/detector. Used to signal the completion of the pipeline.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False), 'associatedDiaSources': Output(name='{fakesType}{coaddName}Diff_assocDiaSrc', storageClass='DataFrame', doc='Optional output storing the DiaSource catalog after matching, calibration, and standardization for insertation into the Apdb.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False), 'diaSourceTable': Input(name='{fakesType}{coaddName}Diff_diaSrcTable', storageClass='DataFrame', doc='Catalog of calibrated DiaSources.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False, deferLoad=False), 'diffIm': Input(name='{fakesType}{coaddName}Diff_differenceExp', storageClass='ExposureF', doc='Difference image on which the DiaSources were detected.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False, deferLoad=False), 'exposure': Input(name='calexp', storageClass='ExposureF', doc='Calibrated exposure differenced with a template image during image differencing.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False, deferLoad=False), 'warpedExposure': Input(name='{fakesType}{coaddName}Diff_warpedExp', storageClass='ExposureF', doc='Warped template used to create `subtractedExposure`. Not PSF matched.', multiple=False, dimensions=('instrument', 'visit', 'detector'), isCalibration=False, deferLoad=False)}¶
-
apdbMarker
¶
-
associatedDiaSources
¶
-
defaultTemplates
= {'coaddName': 'deep', 'fakesType': ''}¶
-
diaSourceTable
¶
-
diffIm
¶
-
dimensions
= {'detector', 'visit', 'instrument'}¶
-
exposure
¶
-
initInputs
= frozenset()¶
-
initOutputs
= frozenset()¶
-
inputs
= frozenset({'exposure', 'diaSourceTable', 'diffIm', 'warpedExposure'})¶
-
outputs
= frozenset({'associatedDiaSources', 'apdbMarker'})¶
-
prerequisiteInputs
= frozenset()¶
-
warpedExposure
¶
Methods Documentation
-
adjustQuantum
(datasetRefMap: lsst.pipe.base.connections.InputQuantizedConnection)¶ Override to make adjustments to
lsst.daf.butler.DatasetRef
objects in thelsst.daf.butler.core.Quantum
during the graph generation stage of the activator.This implementation checks to make sure that the filters in the dataset are compatible with AP processing as set by the Apdb/DPDD schema.
Parameters: - datasetRefMap :
NamedKeyDict
Mapping from dataset type to a
set
oflsst.daf.butler.DatasetRef
objects
Returns: - datasetRefMap :
NamedKeyDict
Mapping of input with assurances that bands incompatible with the Apdb are present.
Raises: - ValueError
Raises if a data ref in the quantum has a band not available in the Apdb.
- datasetRefMap :
-
buildDatasetRefs
(quantum: lsst.daf.butler.core.quantum.Quantum) → Tuple[lsst.pipe.base.connections.InputQuantizedConnection, lsst.pipe.base.connections.OutputQuantizedConnection]¶ Builds QuantizedConnections corresponding to input Quantum
Parameters: - quantum :
lsst.daf.butler.Quantum
Quantum object which defines the inputs and outputs for a given unit of processing
Returns: - retVal :
tuple
of (InputQuantizedConnection
, OutputQuantizedConnection
) Namespaces mapping attribute names (identifiers of connections) to butler references defined in the inputlsst.daf.butler.Quantum
- quantum :
-