Changes
Page history
Update Cheat sheet
authored
Mar 06, 2026
by
Sander Snoo
Show whitespace changes
Inline
Side-by-side
Cheat-sheet.md
View page @
a8b968ee
...
...
@@ -114,3 +114,18 @@ sequence.n_rep = 500
sequence.set_acquisition(sample_rate=1e6) # for time traces
m_param = sequence.get_measurement_param(iq_mode="I+Q")
```
Values for
`iq_mode`
: "I", "Q", "I+Q", "amplitude", "phase", "amplitude+phase", "complex".
# Utils
```
Python
from pulse_lib.scans.read_input import read_channels, scan_resonator_frequency
m_param = read_channels(pulse, 10e3, channels=["SD1", "SD2"],
iq_mode='amplitude+phase')
m_param = read_channels(pulse, 10e6, channels=["SD1"], sample_rate=1e6,
iq_mode='I+Q')
m_param = scan_resonator_frequency(pulse, channel="SD1", 1e3, 100e6, 200e6, 2e6,
iq_mode='amplitude')
```