iqm.pulse.utils.modulate_iq

Contents

iqm.pulse.utils.modulate_iq#

iqm.pulse.utils.modulate_iq(pulse)#

Sampled baseband waveform of an IQ pulse.

Note that IQPulse.phase_increment has no effect on the sampled waveform. The upconversion oscillator phase incrementation is a separate action performed by the AWG that also affects future IQPulses, and thus cannot be represented by an array of waveform samples. To replicate the effect of pulse on an AWG, one should first perform the increment and then play the returned samples.

Parameters:

pulse (IQPulse) – IQ pulse.

Returns:

The waveform of pulse as an array of complex-valued samples.

Return type:

ndarray