measureFromMetadata

lsst.ap.verify.measurements.measureFromMetadata(metadata)

Compute all known metrics on Task metadata.

Metrics and measurement information are registered in the ap_verify configuration file under the measurements label.

Parameters:
metadata : lsst.daf.base.PropertySet

The metadata to search for measurements.

Returns:
measurements : iterable of lsst.verify.Measurement

all the measurements derived from metadata. May be empty.

Raises:
RuntimeError

the ap_verify configuration file exists, but does not contain the expected data under measurements