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