6.3.3. qumada.measurement.scripts
- class qumada.measurement.scripts.Generic_1D_Hysteresis_buffered[source]
Bases:
MeasurementScript
WIP Buffer Hysteresis measurement script Malte Neul / 09.01.2023 Trigger Types:
- “software”: Sends a software command to each buffer and dynamic parameters
in order to start data acquisition and ramping. Timing might be off slightly
- “hardware”: Expects a trigger command for each setpoint. Can be used
with a preconfigured hardware trigger (Todo), a method, that starts a manually adjusted hardware trigger (has to be passed as trigger_start() method to
measurement script) or a manual trigger.
- “manual”The trigger setup is done by the user. The measurent script will
just start the first ramp. Usefull for synchronized trigger outputs as in the QDac.
- trigger_start: A callable that triggers the trigger (called to start the measurement)
or the keyword “manual” when triggering is done by user. Defauls is manual.
trigger_reset (optional): Callable to reset the trigger. Default is NONE. include_gate_name (optional): Appends name of ramped gates to measurement name. Default is TRUE.
- class qumada.measurement.scripts.Generic_1D_Sweep[source]
Bases:
MeasurementScript
- run(**dond_kwargs)[source]
Peform 1D sweeps for all dynamic parameters, one after another. Dynamic parameters that are not currently active are kept at their “value” value.
- Parameters:
**dond_kwargs (Kwargs to pass to the dond method when it is called.) –
**settings[dict] (Kwargs passed during setup(). Details below:) –
- wait_time[float]: Wait time between initialization and each measurement,
default = 5 sek
- include_gate_name[Bool]: Append name of ramped gate to measurement
name. Default True.
- ramp_speed[float]: Speed at which parameters are ramped during
initialization in units. Default = 0.3
- ramp_time[float]: Amount of time in s ramping of each parameter during
initialization may take. If the ramp_speed is too small it will be increased to match the ramp_time. Default = 10
- log_idle_params[bool]: Record dynamic parameters that are kept constant
during the sweeps of other parameters as gettable params. Default True.
- Returns:
List with all QCoDeS Datasets.
- Return type:
- class qumada.measurement.scripts.Generic_1D_Sweep_buffered[source]
Bases:
MeasurementScript
WIP Buffer measurement script Trigger Types:
- “software”: Sends a software command to each buffer and dynamic parameters
in order to start data acquisition and ramping. Timing might be off slightly
- “hardware”: Expects a trigger command for each setpoint. Can be used
with a preconfigured hardware trigger (Todo), a method, that starts a manually adjusted hardware trigger (has to be passed as trigger_start() method to
measurement script) or a manual trigger.
- “manual”The trigger setup is done by the user. The measurent script will
just start the first ramp. Usefull for synchronized trigger outputs as in the QDac.
- trigger_start: A callable that triggers the trigger (called to start the measurement)
or the keyword “manual” when triggering is done by user. Defauls is manual.
trigger_reset (optional): Callable to reset the trigger. Default is NONE. include_gate_name (optional): Appends name of ramped gates to measurement name. Default is TRUE.
- class qumada.measurement.scripts.Generic_1D_parallel_Sweep[source]
Bases:
MeasurementScript
Sweeps all dynamic parameters in parallel, setpoints of first parameter are used for all parameters.
- class qumada.measurement.scripts.Generic_1D_parallel_asymm_Sweep[source]
Bases:
MeasurementScript
Sweeps all dynamic parameters in parallel, setpoints of first parameter are used for all parameters.
- class qumada.measurement.scripts.Generic_2D_Sweep_buffered[source]
Bases:
MeasurementScript
WIP Buffer measurement script Trigger Types:
- “software”: Sends a software command to each buffer and dynamic parameters
in order to start data acquisition and ramping. Timing might be off slightly
- “hardware”: Expects a trigger command for each setpoint. Can be used
with a preconfigured hardware trigger (Todo), a method, that starts a manually adjusted hardware trigger (has to be passed as trigger_start() method to
measurement script) or a manual trigger.
- “manual”The trigger setup is done by the user. The measurent script will
just start the first ramp. Usefull for synchronized trigger outputs as in the QDac.
- trigger_start: A callable that triggers the trigger (called to start the measurement)
or the keyword “manual” when triggering is done by user. Defauls is manual.
trigger_reset (optional): Callable to reset the trigger. Default is NONE. include_gate_name (optional): Appends name of ramped gates to measurement name. Default is TRUE. reset_time: Time for ramping fast param back to the start value. reverse_param_order: Switch slow and fast param.
- class qumada.measurement.scripts.Generic_nD_Sweep[source]
Bases:
MeasurementScript
- run(**dond_kwargs)[source]
Perform n-dimensional sweep for n dynamic parameters.
- Parameters:
**dond_kwargs (Kwargs to pass to the dond method when it is called.) –
**settings[dict] (Kwargs passed during setup(). Details below:) –
- wait_time[float]: Wait time between initialization and each measurement,
default = 5 sek
- include_gate_name[Bool]: Append name of ramped gates to measurement
name. Default True.
- ramp_speed[float]: Speed at which parameters are ramped during
initialization in units. Default = 0.3
- ramp_time[float]: Amount of time in s ramping of each parameter during
initialization may take. If the ramp_speed is too small it will be increased to match the ramp_time. Default = 10
- Returns:
data
- Return type:
QCoDeS dataset with measurement data
- class qumada.measurement.scripts.Measure_Spectrum[source]
Bases:
MeasurementScript
- kwargs:
store_timetrace: Bool|True. Stores timetrace as QCoDeS measurement store_spectrum: Bool|True:. Stores spectrum as QCoDes measurement
- class qumada.measurement.scripts.Timetrace[source]
Bases:
MeasurementScript
Timetrace measurement, duration and timestep can be set as keyword-arguments, both in seconds. Be aware that the timesteps can vary as the time it takes to record a datapoint is not constant, the argument only sets the wait time. However, the recorded “elapsed time” is accurate. kwargs:
auto_naming: Renames measurement automatically to Timetrace if True.
- class qumada.measurement.scripts.Timetrace_buffered[source]
Bases:
MeasurementScript
Timetrace measurement, duration and timestep are set via the buffer settings. Does currently not work with dynamic parameters. Furthermore, you cannot use “manual” triggering mode as now ramp is started. It is fine to use software triggering here, as long as only one buffered instrument is used, else you should use “hardware”.
- kwargs:
auto_naming: Renames measurement automatically to Timetrace if True.
- class qumada.measurement.scripts.Timetrace_with_Sweeps_buffered[source]
Bases:
MeasurementScript
Timetrace measurement, duration and timestep are set via the buffer settings. Does currently not work with dynamic parameters. Furthermore, you cannot use “manual” triggering mode as now ramp is started. It is fine to use software triggering here, as long as only one buffered instrument is used, else you should use “hardware”.
- kwargs:
auto_naming: Renames measurement automatically to Timetrace if True.
- class qumada.measurement.scripts.Timetrace_with_sweeps[source]
Bases:
MeasurementScript
Timetrace measurement, duration and timestep can be set as keyword-arguments, both in seconds. Be aware that the timesteps can vary as the time it takes to record a datapoint is not constant, the argument only sets the wait time. However, the recorded “elapsed time” is accurate.