MetricsExample

class lsst.daf.butler.tests.MetricsExample(summary=None, output=None, data=None)

Bases: object

Smorgasboard of information that might be the result of some processing.

Parameters:
summarydict

Simple dictionary mapping key performance metrics to a scalar result.

outputdict

Structured nested data.

datalist, optional

Arbitrary array data.

Methods Summary

exportAsDict()

Convert object contents to a single python dict.

makeFromDict(exportDict)

Create a new object from a dict that is compatible with that created by exportAsDict.

Methods Documentation

exportAsDict()

Convert object contents to a single python dict.

classmethod makeFromDict(exportDict)

Create a new object from a dict that is compatible with that created by exportAsDict.

Parameters:
exportDictdict

dict with keys “summary”, “output”, and (optionally) “data”.

Returns:
newobjectMetricsExample

New MetricsExample object.