print_metrics¶
-
lsst.verify.extract_metricvalues.print_metrics(butler, kind, *, data_id_keys=None, data_id_restriction=None, verbose=False)¶ Print all metrics with measured values in the given repo.
Parameters: - butler :
lsst.daf.butler.Butler Butler to load values from.
- kind :
str Kind of metrics to load.
- data_id_keys :
collection[str], optional List of Butler dataId keys to restrict the printed output to; for example:
("detector", "visit").- data_id_restriction :
dict, optional Only include values whose dataId matches these key:value pairs; for example:
{"detector": 50}. If a metric does not use a key, it is not included.- verbose :
bool, optional Print extra information when loading values.
Returns: - output :
str A formatted string with all the requested metric values.
- butler :