# boulderopalscaleup.experiments.TWPACalibration

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/experiments/TWPACalibration

```python
class boulderopalscaleup.experiments.TWPACalibration(*, resonator, twpa, pump_frequencies, pump_powers_dbm, probe_frequencies=None, measure_waveform=None, duration_ns=16000, recycle_delay_ns=10000, shot_count=100, run_mixer_calibration=False, update='off')
```

Parameters for running a TWPA calibration experiment.

### Variables
* **resonator** (*str*) – The reference for the resonator to target.
* **twpa** (*str*) – The name of the TWPA element to use (e.g. ‘twpa0’, ‘twpa1’, ‘twpa2’).
* **pump_frequencies** ([*LinspaceIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/LinspaceIterable.md#boulderopalscaleup.common.LinspaceIterable) *or* [*RangeIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/RangeIterable.md#boulderopalscaleup.common.RangeIterable)) – The TWPA pump frequencies to sweep over, in Hz.
* **pump_powers_dbm** ([*LinspaceIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/LinspaceIterable.md#boulderopalscaleup.common.LinspaceIterable) *or* [*RangeIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/RangeIterable.md#boulderopalscaleup.common.RangeIterable)) – The TWPA pump powers to sweep over, in dBm.
* **probe_frequencies** (*list* *[* *int* *] or* [*LinspaceIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/LinspaceIterable.md#boulderopalscaleup.common.LinspaceIterable) *or* [*RangeIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/RangeIterable.md#boulderopalscaleup.common.RangeIterable) *or* [*CWSIterable*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/CWSIterable.md#boulderopalscaleup.common.CWSIterable)                         *or* *None* *,* *optional*) – The readout probe frequencies to sweep over, in Hz.
  Defaults to a scan around the readout frequency.
* **measure_waveform** ([*ConstantWaveform*](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/common/ConstantWaveform.md#boulderopalscaleup.common.ConstantWaveform) *or* *None* *,* *optional*) – The waveform to use for the measurement pulse.
  Defaults to the measurement defcal.
* **duration_ns** (*int* *,* *optional*) – Duration of the TWPA pump tone in nanoseconds. Defaults to 16,000 ns.
* **recycle_delay_ns** (*int* *,* *optional*) – The delay between consecutive shots, in nanoseconds. Defaults to 10,000 ns.
* **shot_count** (*int* *,* *optional*) – The number of shots to take. Defaults to 100.
* **run_mixer_calibration** (*bool* *,* *optional*) – Whether to run mixer calibrations before running a program. Defaults to False.
* **update** ( *"auto"* *or*  *"off"* *or*  *"prompt"* *,* *optional*) – How the device should be updated after an experiment run. Defaults to auto.
