CosineRiseFallDerivative#
- class iqm.pulse.playlist.waveforms.CosineRiseFallDerivative(n_samples, full_width, rise_time, center_offset=0.0)#
Bases:
Waveform
Derivative of a waveform that has a sinusoidal rise and fall, and a constant part in between.
\[\begin{split}f(t) = \begin{cases} -\sin(\pi (t - c + p / 2) / r) & t - (c - p / 2) \in [-r, 0]\\ -\sin(\pi (t - c - p / 2) / r) & t - (c + p / 2) \in [0, r]\\ 0 & \text{otherwise} \end{cases}\end{split}\]where \(c\) is
center_offset
, \(r\) isrise_time
, and \(p\) is the plateau width, calculated via \(p :=\)full_width
- 2 *rise_time
.Its values are in \([-1, 1]\).
- Parameters:
Module:
iqm.pulse.playlist.waveforms
Attributes
center_offset
full_width
rise_time
n_samples
Requested number of samples for the waveform.
Methods