Update Cheat sheet authored by Sander Snoo's avatar Sander Snoo
......@@ -7,13 +7,15 @@ TODO
# Segments
```Python
segment = pulse.mk_segment()
segment.add_block(start, stop, channels, amplitudes)
segment.add_ramp(start, stop, channels, v_start, v_stop)
segment.wait(time, reset_time=True)
segment.reset_time()
```
## all channels
### all channels
```Python
segment[channel].wait(time, reset_time=True)
......@@ -39,7 +41,7 @@ Notes:
* `add_block(start, -1, amplitude)` adds a block pulse till the end of the segment. It can be used to set an offset for a longer duration, and eventually reset it after one or more `reset_time` calls.
* `add_sin` is not intended for qubit driving. Use a qubit channel.
## Qubit channel
### Qubit channel
```Python
segment[channel].add_MW_pulse(start, stop, amplitude, frequency, phase)
segment[channel].add_chirp(start, stop, start_frequency, stop_frequency, amplitude)
......@@ -48,13 +50,18 @@ segment[channel].add_phase_correction(t, phase)
segment[channel].reset_phase(t)
```
## Marker channel
### Marker channel
TODO
```Python
segment[channel].add_marker(start, stop)
```
## Acquisition
### Acquisition
TODO
```Python
segment[channel].acquire(start, duration, m_name, threshold=threshold,
zero_on_high=True, accept_if=1)
```
# Sequence
......
......