snapshot_base#
- ZIParameter.snapshot_base(update: bool = True, params_to_skip_update: List[str] | None = None) dict [source]#
State of the parameter as a JSON-compatible dict.
(everything that the custom JSON encoder class
qcodes.utils.helpers.NumpyJSONEncoder
supports)If the parameter has been initiated with
snapshot_value=False
, the snapshot will NOT include thevalue
andraw_value
of the parameter.Overwrite base class function to use the snapshot_cache.
- Parameters:
update (bool) – If True, update the state by calling
parameter.get()
unlesssnapshot_get
of the parameter isFalse
. Ifupdate
isNone
, use the current value from thecache
unless the cache is invalid. IfFalse
, never callparameter.get()
.params_to_skip_update (List[str] | None) – No effect but may be passed from base class
- Returns:
base snapshot
- Return type:
dict