pcdsdevices.variety.get_metadata

pcdsdevices.variety.get_metadata(cpt)

Get “variety” metadata from a component or signal.

Parameters:

cpt (ophyd.Component or ophyd.OphydItem) – The component / ophyd item to get the metadata for.

Returns:

metadata (dict) – The metadata, if set. Otherwise an empty dictionary. This metadata is guaranteed to be valid according to the known schemas.