nanotune.tuningstages.take_data

nanotune.tuningstages.take_data.take_data(parameters_to_sweep: List[Parameter], parameters_to_measure: List[Parameter], setpoints: Sequence[Sequence[float]], finish_early_check: Optional[Callable[[Dict[str, float]], bool]] = None, do_at_inner_setpoint: Optional[Callable[[Any], None]] = None, metadata_addon: Optional[Tuple[str, Dict[str, Any]]] = None) → int[source]

Take 1D or 2D measurements with QCoDeS.

Parameters
  • parameters_to_sweep –

  • parameters_to_measure –

  • setpoints –

  • finish_early_check –

  • metadata_addon – string with tag under which it will be added and metadata iself. To save some important metadata before measuring.

Returns
  • int

  • list – List of the number of points measured in each dimension. If the measurement has been stopped early, these will differ from the number of setpoints.

nanotune.tuningstages.take_data.do_nothing(param_setpoint_input: Tuple[Parameter, float]) → None[source]

Default function used at inner setpoints in `take_data`, not doing anything.

nanotune.tuningstages.take_data.ramp_to_setpoint(param_setpoint_input: Tuple[Parameter, float]) → None[source]

Ramps nanotune gates (or other instrument parameter with ‘use_ramp’ attribute)to a new setpoint. Sets use_ramp back to false after ramping.

Parameters
  • param_setpoint_input – Tuple of the QCoDeS parameter and its new

  • setpoint. –