SuppressedPulse#
- class iqm.pulse.playlist.fast_drag.SuppressedPulse(n_samples, full_width, coefficients, suppressed_frequencies, compute_coefs_from_frequencies)#
Bases:
WaveformBase 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_frequenciesallows the user to choose whether the basis function coefficients are computed fromsuppressed_frequenciesduring the post-initialization of the pulse (thus, overriding any pre-computed values incoefficients), or if the (pre-computed) values incoefficientsare directly used andsuppressed_frequenciesare 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_frequenciesare used to compute and overridecoefficientsin the post-initialization. If False, pre-computedcoefficientsare used, andsuppressed_frequenciesare ignored.n_samples (int)
Module:
iqm.pulse.playlist.fast_dragAttributes
full_widthcoefficientssuppressed_frequenciescompute_coefs_from_frequenciesn_samplesRequested number of samples for the waveform.
Methods