TractMeasurementTaskConnections¶
- 
class lsst.faro.measurement.TractMeasurementTaskConnections(*, config: PipelineTaskConfig = None)¶
- Bases: - lsst.verify.tasks.MetricConnections- Attributes Summary - allConnections- astromCalibs- catalogs- defaultTemplates- dimensions- initInputs- initOutputs- inputs- measurement- outputs- photoCalibs- prerequisiteInputs- Methods Summary - adjustQuantum(datasetRefMap, …)- Override to make adjustments to - lsst.daf.butler.DatasetRefobjects in the- lsst.daf.butler.core.Quantumduring the graph generation stage of the activator.- buildDatasetRefs(quantum)- Builds QuantizedConnections corresponding to input Quantum - Attributes Documentation - 
allConnections= {'astromCalibs': Input(name='{wcsName}', storageClass='Wcs', doc='WCS for the catalog.', multiple=True, dimensions=('tract', 'patch', 'skymap', 'band'), isCalibration=False, deferLoad=False), 'catalogs': Input(name='deepCoadd_forced_src', storageClass='SourceCatalog', doc='Object catalog.', multiple=True, dimensions=('tract', 'patch', 'skymap', 'band'), isCalibration=False, deferLoad=False), 'measurement': Output(name='metricvalue_{package}_{metric}', storageClass='MetricValue', doc='Per-tract measurement.', multiple=False, dimensions=('tract', 'skymap', 'band'), isCalibration=False), 'photoCalibs': Input(name='{photoCalibName}', storageClass='PhotoCalib', doc='Photometric calibration object.', multiple=True, dimensions=('tract', 'patch', 'skymap', 'band'), isCalibration=False, deferLoad=False)}¶
 - 
astromCalibs¶
 - 
catalogs¶
 - 
defaultTemplates= {'coaddName': 'deepCoadd', 'metric': None, 'package': None, 'photoCalibName': 'deepCoadd_calexp.photoCalib', 'wcsName': 'deepCoadd_calexp.wcs'}¶
 - 
dimensions= {'band', 'skymap', 'tract'}¶
 - 
initInputs= frozenset()¶
 - 
initOutputs= frozenset()¶
 - 
inputs= frozenset({'catalogs', 'astromCalibs', 'photoCalibs'})¶
 - 
measurement¶
 - 
outputs= frozenset({'measurement'})¶
 - 
photoCalibs¶
 - 
prerequisiteInputs= frozenset()¶
 - Methods Documentation - 
adjustQuantum(datasetRefMap: lsst.daf.butler.core.named.NamedKeyDict[lsst.daf.butler.core.datasets.type.DatasetType, typing.Set[lsst.daf.butler.core.datasets.ref.DatasetRef]][lsst.daf.butler.core.datasets.type.DatasetType, Set[lsst.daf.butler.core.datasets.ref.DatasetRef]]) → lsst.daf.butler.core.named.NamedKeyDict[lsst.daf.butler.core.datasets.type.DatasetType, typing.Set[lsst.daf.butler.core.datasets.ref.DatasetRef]][lsst.daf.butler.core.datasets.type.DatasetType, Set[lsst.daf.butler.core.datasets.ref.DatasetRef]]¶
- Override to make adjustments to - lsst.daf.butler.DatasetRefobjects in the- lsst.daf.butler.core.Quantumduring the graph generation stage of the activator.- The base class implementation simply checks that input connections with - multipleset to- Falsehave no more than one dataset.- Parameters: - datasetRefMap : NamedKeyDict
- Mapping from dataset type to a - setof- lsst.daf.butler.DatasetRefobjects
 - Returns: - datasetRefMap : NamedKeyDict
- Modified mapping of input with possibly adjusted - lsst.daf.butler.DatasetRefobjects.
 - Raises: - ScalarError
- Raised if any - Inputor- PrerequisiteInputconnection has- multipleset to- False, but multiple datasets.
- Exception
- Overrides of this function have the option of raising an Exception if a field in the input does not satisfy a need for a corresponding pipelineTask, i.e. no reference catalogs are found. 
 
- 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 : tupleof (InputQuantizedConnection,
- OutputQuantizedConnection) Namespaces mapping attribute names (identifiers of connections) to butler references defined in the input- lsst.daf.butler.Quantum
 
- quantum : 
 
-