MergeMeasurementsConfig#

class lsst.pipe.tasks.mergeMeasurements.MergeMeasurementsConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration parameters for the MergeMeasurementsTask.

Attributes Summary

coaddName

Name of coadd (str, default 'deep')

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

flags

Require that these flags, if available, are not set (List, default ['base_PixelFlags_flag_interpolatedCenter', 'base_PsfFlux_flag', 'ext_photometryKron_KronFlux_flag', 'modelfit_CModel_flag'])

minSN

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

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 (float, default 3.0)

priorityList

Priority-ordered list of filter bands for the merge.

pseudoFilterList

Names of filters which may have no associated detection (N.b.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

snName

Name of flux measurement for calculating the S/N when choosing the reference band.

Methods Summary

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

coaddName#

Name of coadd (str, default 'deep')

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

flags#

Require that these flags, if available, are not set (List, default ['base_PixelFlags_flag_interpolatedCenter', 'base_PsfFlux_flag', 'ext_photometryKron_KronFlux_flag', 'modelfit_CModel_flag'])

minSN#

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. (float, default 10.0)

minSNDiff#

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 (float, default 3.0)

priorityList#

Priority-ordered list of filter bands for the merge. (List, default [])

pseudoFilterList#

Names of filters which may have no associated detection (N.b. should include MergeDetectionsConfig.skyFilterName) (List, default ['sky'])

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

snName#

Name of flux measurement for calculating the S/N when choosing the reference band. (str, default 'base_PsfFlux')

Methods Documentation

validate()#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.