MergeMeasurementsTask

Python API summary

from lsst.pipe.tasks.mergeMeasurements import MergeMeasurementsTask
classMergeMeasurementsTask(butler=None, schema=None, initInputs=None, **kwargs)

! @anchor MergeMeasurementsTask_...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(catalogs)

! Merge measurement catalogs to create a single reference catalog for forced photometry...

methodrunDataRef(patchRefList)

! @brief Merge coadd sources from multiple bands. Calls @ref `run`. @param[in] patchRefList list of data references for each filter...

See also

See the MergeMeasurementsTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

catalogs

Data type
lsst.pipe.base.config.InputDatasetConfig
Field type
ConfigField
Input catalogs to merge.

coaddName

Default
'deep'
Field type
str Field
Name of coadd

flags

Default
['base_PixelFlags_flag_interpolatedCenter', 'base_PsfFlux_flag', 'ext_photometryKron_KronFlux_flag', 'modelfit_CModel_flag']
Field type
str ListField
Require that these flags, if available, are not set

inputSchema

Data type
lsst.pipe.base.config.InitInputDatasetConfig
Field type
ConfigField
Schema for the input measurement catalogs.

mergedCatalog

Data type
lsst.pipe.base.config.OutputDatasetConfig
Field type
ConfigField
Output merged catalog.

minSN

Default
10.0
Field type
float Field
If the S/N from the priority band is below this value (and the S/N is larger than minSNDiff compared to the priority band), use the band with the largest S/N as the reference band.

minSNDiff

Default
3.0
Field type
float Field
If the difference in S/N between another band and the priority band is larger than this value (and the S/N in the priority band is less than minSN) use the band with the largest S/N as the reference band

outputSchema

Data type
lsst.pipe.base.config.InitOutputDatasetConfig
Field type
ConfigField
Schema for the output merged measurement catalog.

priorityList

Default
[]
Field type
str ListField
Priority-ordered list of bands for the merge.

pseudoFilterList

Default
['sky']
Field type
str ListField
Names of filters which may have no associated detection (N.b. should include MergeDetectionsConfig.skyFilterName)

quantum

Data type
lsst.pipe.base.config.QuantumConfig
Field type
ConfigField
configuration for PipelineTask quantum

snName

Default
'base_PsfFlux'
Field type
str Field
Name of flux measurement for calculating the S/N when choosing the reference band.