Skip to content

laboneq_applications.contrib.analysis.measure_gain_curve

This module defines the analysis for a TWPA gain curve experiment.

After optimizing the pump tone parameters, this analysis shows the readout spectrum as a function of the pump power.

The experiment is defined in laboneq_applications.contrib.experiments.measure_gain_curve

TWPAGainCurveAnalysisWorkflowOptions

Options for the TWPA gain curve analysis workflow.

use_probe_from_ppc = workflow.option_field(True, description='Whether to use the PPC for sending the probe tone.') class-attribute instance-attribute

analysis_workflow(result_pump_on, result_pump_off, parametric_amplifier, probe_frequency, pump_power, selected_indexes=None, options=None)

The gain curve analysis workflow.

calculate_data(parametric_amplifier, result_pump_on, result_pump_off)

Calculate the data.

calculate_data_PSD(parametric_amplifier, result_pump_on, result_pump_off)

Calculate the PSD data.

extract_parametric_amplifier_parameters(parametric_amplifier, fit_results)

Extract the parametric amplifier parameters.

fit_data(signal_dict, probe_frequency, pump_power)

Fit the data.

plot_1D(signal_dict, probe_frequency, pump_power, selected_indexes=None, options=None)

Plot the 1D gain diagram.

plot_2D(parametric_amplifier, parametric_amplifier_parameters, fit_results, signal_dict, probe_frequency, pump_power, options=None)

Plot the 2D gain diagram.