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

coaddName

Default
'deep'
Field type
str Field
Name of coadd

connections

Data type
lsst.pipe.base.config.Connections
Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes

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

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

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)

saveMetadata

Default
True
Field type
bool Field
Flag to enable/disable metadata saving for a task, enabled by default.

snName

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