iqm.pulse.playlist.fast_drag.evaluate_fast_drag_i_envelope

iqm.pulse.playlist.fast_drag.evaluate_fast_drag_i_envelope#

iqm.pulse.playlist.fast_drag.evaluate_fast_drag_i_envelope(t_arr, pulse_duration, coefficients)#

Evaluate I-envelope of a FAST DRAG pulse for given coefficients.

The I-envelope is defined as \(I(t) = \sum_{n=1}^{N} c_n [1 - (-1)^n \cos(2\pi n t/t_p)]\), where \(N\) is the number of cosine terms in the series, \(\{c_n\}\) are the coefficients, and the pulse is defined on the interval \(t \in [-t_p/2, t_p/2]\).

Parameters:
  • t_arr (ndarray) – Array of time points, at which the function is to be evaluated

  • pulse_duration (float) – Pulse duration in the same units as t_arr

  • coefficients (ndarray) – Coefficients of a FAST DRAG pulse

Returns:

I-envelope of a FAST DRAG pulse evaluated at t_arr

Return type:

ndarray