load_from_butler

lsst.verify.extract_metricvalues.load_from_butler(butler, query, reject_suffix=None, verbose=False)
Parameters:
butlerlsst.daf.butler.Butler

Butler created with the appropriate collections, etc.

querystr

Butler dataset query to get the metric names to load.

reject_suffixstr or iterable, optional

String or tuple of strings to not load if they appear at the end of the metric name.

verbosebool, optional

Print extra information when loading.

Returns:
resultdict [tuple, MetricValue]

The loaded metric values, keyed on data_id (DataCoordiate) and metric name (str).