qcodes.metadatable

Classes:

Metadatable([metadata])

class qcodes.metadatable.Metadatable(metadata: Optional[Mapping[str, Any]] = None)[source]

Bases: object

Methods:

load_metadata(metadata)

Load metadata into this classes metadata dictionary.

snapshot([update])

Decorate a snapshot dictionary with metadata.

snapshot_base([update, params_to_skip_update])

Override this with the primary information for a subclass.

load_metadata(metadata: Mapping[str, Any]) None[source]

Load metadata into this classes metadata dictionary.

Parameters

metadata – Metadata to load.

snapshot(update: Optional[bool] = False) Dict[str, Any][source]

Decorate a snapshot dictionary with metadata. DO NOT override this method if you want metadata in the snapshot instead, override snapshot_base().

Parameters

update – Passed to snapshot_base.

Returns

Base snapshot.

snapshot_base(update: Optional[bool] = False, params_to_skip_update: Optional[Sequence[str]] = None) Dict[str, Any][source]

Override this with the primary information for a subclass.