MetricConfig#
- class lsst.verify.tasks.MetricConfig(*args, **kw)#
Bases:
PipelineTaskConfigAttributes Summary
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
The metric calculated by a
MetricTaskwith this config (lsst.verify.Name, read-only).Flag to enable/disable saving of log output for a task, enabled by default.
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- metricName#
The metric calculated by a
MetricTaskwith this config (lsst.verify.Name, read-only).
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
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
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.