pseudoFilterList = pexConfig.ListField(
dtype=str,
default=["sky"],
doc="Names of filters which may have no associated detection\n"
"(N.b. should include MergeDetectionsConfig.skyFilterName)"
)
snName = pexConfig.Field(
dtype=str,
default="base_PsfFlux",
doc="Name of flux measurement for calculating the S/N when choosing the reference band."
)
minSN = pexConfig.Field(
dtype=float,
default=10.,
doc="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 = pexConfig.Field(
dtype=float,
default=3.,
doc="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"
)
flags = pexConfig.ListField(
dtype=str,
doc="Require that these flags, if available, are not set",
default=["base_PixelFlags_flag_interpolatedCenter", "base_PsfFlux_flag",
"ext_photometryKron_KronFlux_flag", "modelfit_CModel_flag", ]
)
priorityList = pexConfig.ListField(
dtype=str,
default=[],
doc="Priority-ordered list of bands for the merge."
)
coaddName = pexConfig.Field(
dtype=str,
default="deep",
doc="Name of coadd"
)
def validate(self):
super().validate()
if len(self.priorityList) == 0:
raise RuntimeError("No priority list provided")
## @addtogroup LSST_task_documentation
## @{
## @page MergeMeasurementsTask
## @ref MergeMeasurementsTask_ "MergeMeasurementsTask"
## @copybrief MergeMeasurementsTask
## @}
class MergeMeasurementsTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
r
Definition at line 198 of file mergeMeasurements.py.