load_metrics

lsst.validate.base.load_metrics(yaml_path)[source]

Load metric from a YAML document into an ordered dictionary of Metrics.

Parameters:

yaml_path : str

The full file path to a metric YAML file.

Returns:

metrics : collections.OrderedDict

A dictionary of Metric instances, ordered to matched layout of YAML document at YAML path. Keys are names of metrics (str).

See also

Metric.from_yaml
Make a single Metric instance from a YAML document.