ForcedPhotCoaddTask¶
ForcedPhotCoaddTask
performs forced measurement on a co-added image using as a reference catalog detections which were made on coadds in other bands.
Butler datasets¶
Input datasets¶
- A
Coadd_src
variant (e.g.deepCoadd_src
) Used as the reference catalog. This is not loaded directly from the provided
dataRef
; only the patch and tract are used, while the filter is set by the configuration of the references subtask. Seelsst.meas.base.references.CoaddSrcReferencesTask
.- A
Coadd_calexp
variant (e.g.deepCoadd_calexp
) Used as the measurement image. Note that this means that
lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask
must have been run on the image previously.
Ouptut datasets¶
- A
Coadd_forced_src
variant (e.g.deepCoadd_forced_src
) The resulting measurement catalog.
Python API summary¶
from lsst.meas.base.forcedPhotCoadd import ForcedPhotCoaddTask
-
class
ForcedPhotCoaddTask
(butler=None, refSchema=None, initInputs=None, **kwds) A command-line driver for performing forced measurement on coadd images
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(measCat, exposure, refCat, refWcs, exposureId=None) Perform forced measurement on a single exposure
...
-
method
runDataRef
(dataRef, psfCache=None) Perform forced measurement on a single exposure
...
See also
See the ForcedPhotCoaddTask
API reference for complete details.
Retargetable subtasks¶
applyApCorr¶
- Default
- Field type
Subtask to apply aperture corrections
catalogCalculation¶
Subtask to run catalogCalculation plugins on catalog
measurement¶
- Default
- Field type
subtask to do forced measurement
references¶
- Default
- Field type
subtask to retrieve reference source catalog
Configuration fields¶
coaddName¶
coadd name: typically one of deep or goodSeeing
connections¶
- Data type
lsst.pipe.base.config.Connections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
doApCorr¶
Run subtask to apply aperture corrections
doConserveFlux¶
Whether to use the deblender models as templates to re-distribute the flux from the ‘exposure’ (True), or to perform measurements on the deblender model footprints. If footprintDatasetName != ‘ScarletModelData’ then this field is ignored.
doStripFootprints¶
Whether to strip footprints from the output catalog before saving to disk. This is usually done when using scarlet models to save disk space.
footprintDatasetName¶
Dataset (without coadd prefix) that should be used to obtain (Heavy)Footprints for sources. Must have IDs that match those of the reference catalog.If None, Footprints will be generated by transforming the reference Footprints.
hasFakes¶
Should be set to True if fake sources have been inserted into the input data.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
saveMetadata¶
Flag to enable/disable metadata saving for a task, enabled by default.