SuppressedPulse#
- class iqm.pulse.playlist.fast_drag.SuppressedPulse(n_samples, full_width, coefficients, suppressed_frequencies, compute_coefs_from_frequencies)#
Bases:
Waveform
Base class for a control pulse using a series expansion to suppress certain frequencies in its envelope spectrum
The base class describes control pulses, in which the coefficients of the basis functions are chosen to suppress specific frequencies or frequency ranges in the frequency spectrum of the pulse envelope. Examples include FAST DRAG and HD DRAG.
The pulse argument
compute_coefs_from_frequencies
allows the user to choose whether the basis function coefficients are computed fromsuppressed_frequencies
during the post-initialization of the pulse (thus, overriding any pre-computed values incoefficients
), or if the (pre-computed) values incoefficients
are directly used andsuppressed_frequencies
are neglected. The classes deriving from this base class should implement the post-initialization logic specific to the given pulse.- Parameters:
full_width (float) – Full width of the pulse corresponding to the pulse duration with non-zero amplitude (in s).
coefficients (ndarray) – Pre-computed coefficients of the series expansion.
suppressed_frequencies (ndarray) – Frequencies to be suppressed or center frequencies of intervals to be suppressed (in Hz).
compute_coefs_from_frequencies (bool) – Boolean value indicating whether we compute the coefficients from the suppressed frequencies or whether we use the pre-computed coefficients. If True,
suppressed_frequencies
are used to compute and overridecoefficients
in the post-initialization. If False, pre-computedcoefficients
are used, andsuppressed_frequencies
are ignored.n_samples (int) –
Module:
iqm.pulse.playlist.fast_drag
Attributes
full_width
coefficients
suppressed_frequencies
compute_coefs_from_frequencies
n_samples
Requested number of samples for the waveform.
Methods