ForcedPhotImageConnections¶
-
class
lsst.meas.base.ForcedPhotImageConnections(*, config: PipelineTaskConfig = None)¶ Bases:
lsst.pipe.base.PipelineTaskConnectionsAttributes Summary
allConnectionsdefaultTemplatesdimensionsexposureinitInputsinitOutputsinputSchemainputsmeasCatoutputSchemaoutputsprerequisiteInputsrefCatrefWcsMethods Summary
adjustQuantum(datasetRefMap, …)Override to make adjustments to lsst.daf.butler.DatasetRefobjects in thelsst.daf.butler.core.Quantumduring the graph generation stage of the activator.buildDatasetRefs(quantum)Builds QuantizedConnections corresponding to input Quantum Attributes Documentation
-
allConnections= {'exposure': Input(name='{inputCoaddName}Coadd', storageClass='ExposureF', doc='Input exposure to perform photometry on.', multiple=False, dimensions=['band', 'skymap', 'tract', 'patch'], isCalibration=False, deferLoad=False), 'inputSchema': InitInput(name='{inputCoaddName}Coadd_ref_schema', storageClass='SourceCatalog', doc='Schema for the input measurement catalogs.', multiple=False), 'measCat': Output(name='{outputCoaddName}Coadd_forced_src', storageClass='SourceCatalog', doc='Output forced photometry catalog.', multiple=False, dimensions=['band', 'skymap', 'tract', 'patch'], isCalibration=False), 'outputSchema': InitOutput(name='{outputCoaddName}Coadd_forced_src_schema', storageClass='SourceCatalog', doc='Schema for the output forced measurement catalogs.', multiple=False), 'refCat': Input(name='{inputCoaddName}Coadd_ref', storageClass='SourceCatalog', doc='Catalog of shapes and positions at which to force photometry.', multiple=False, dimensions=['skymap', 'tract', 'patch'], isCalibration=False, deferLoad=False), 'refWcs': Input(name='{inputCoaddName}Coadd.wcs', storageClass='Wcs', doc='Reference world coordinate system.', multiple=False, dimensions=['band', 'skymap', 'tract', 'patch'], isCalibration=False, deferLoad=False)}¶
-
defaultTemplates= {'inputCoaddName': 'deep', 'outputCoaddName': 'deep'}¶
-
dimensions= {'tract', 'band', 'skymap', 'patch'}¶
-
exposure¶
-
initInputs= frozenset({'inputSchema'})¶
-
initOutputs= frozenset({'outputSchema'})¶
-
inputSchema¶
-
inputs= frozenset({'refWcs', 'exposure', 'refCat'})¶
-
measCat¶
-
outputSchema¶
-
outputs= frozenset({'measCat'})¶
-
prerequisiteInputs= frozenset()¶
-
refCat¶
-
refWcs¶
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 thelsst.daf.butler.core.Quantumduring the graph generation stage of the activator.The base class implementation simply checks that input connections with
multipleset toFalsehave no more than one dataset.Parameters: - datasetRefMap :
NamedKeyDict Mapping from dataset type to a
setoflsst.daf.butler.DatasetRefobjects
Returns: - datasetRefMap :
NamedKeyDict Modified mapping of input with possibly adjusted
lsst.daf.butler.DatasetRefobjects.
Raises: - ScalarError
Raised if any
InputorPrerequisiteInputconnection hasmultipleset toFalse, 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 inputlsst.daf.butler.Quantum
- quantum :
-