Skip to content

laboneq_applications.contrib.analysis.calibrate_cancellation

This module defines the analysis for a cancellation tone calibration experiment.

The experiment is defined in laboneq_applications.experiments.

In this analysis, we first interpret the raw data into the signal magnitude and phase.

Plot2DOptions

Bases: BasePlottingOptions

Options for the plot_2D task of the calibrate cancellation analysis workflow.

Attributes:

Name Type Description
do_fitting bool

Whether to perform the fit. Default: True.

Attributes from BasePlottingOptions: save_figures: Whether to save the figures. Default: True. close_figures: Whether to close the figures. Default: True.

do_fitting = workflow.option_field(True, description='Whether to perform the fit.') class-attribute instance-attribute

analysis_workflow(result_data, result_ref, parametric_amplifier, cancel_phaseshift, cancel_attenuation, options=None)

The cancellation tone calibration analysis workflow.

calculate_data_PSD(parametric_amplifier, result_data, result_ref)

Calculate the power spectral density of the pump tone residual.

extract_cancellation_parameters(parametric_amplifier, fit_results)

Extract the cancellation parameters.

fit_data(signal_dict, cancel_phaseshift, cancel_attenuation)

Fit data.

plot_2D(parametric_amplifier, pa_parameters, fit_results, signal_dict, cancel_phaseshift, cancel_attenuation, options=None)

Plot the 2D plot of the pump tone residual.