iqm.pulse.playlist.hd_drag.evaluate_nth_derivative_of_basis_envelope#
- iqm.pulse.playlist.hd_drag.evaluate_nth_derivative_of_basis_envelope(t_arr, pulse_duration, cosine_coefs_arr, n)#
Evaluate nth derivative of the basis envelope for HD DRAG based on a cosine series.
The basis envelope is given by \(g(t) = \sum_{k=1}^{K+1} d_k (1 - \cos(2\pi k t/t_p + k\pi))\), where the pulse is defined on the interval \(t \in [-t_p/2, t_p/2]\). The returned derivatives are normalized via multiplication by \(((t_p/(2\pi))^n\), where \(n\) is the order of the derivative.
- Parameters:
- Returns:
Array containing the nth derivative of the basis envelope evaluated at
t_arr
- Return type: