exa.core.database_wrapper.save_observation

exa.core.database_wrapper.save_observation#

save_observation(dut_field, value, unit, source, uncertainty=None, tags=None, invalid=False, dut_label=None)#

Save an observation for chip that is specified in configuration file.

Parameters:
  • dut_field (str) – The name of the observable. For example, QB1.flux.voltage.

  • value (bool | int | float | complex | str | ndarray) – Value that is saved as an observation for dut_field.

  • unit (str) – The observation unit (base SI unit, e.g. Hz and never GHz). Can be an empty string for quantities without unit (e.g. fidelity values).

  • source (dict[str, Any]) – How the observation was made, e.g. experiment analysis or manual specification.

  • uncertainty (int | float | complex | None) – The uncertainty of the observation value. None means unknown.

  • tags (list[str] | None) – Human-readable tags about the observation.

  • invalid (bool) – Boolean flag indicating if observation is invalid. Defaults to False.

  • dut_label (str | None) – DUT label of the device being used. If not given, defaults to the one used in experiment configuration.

Return type:

ObservationData