iqm.pulse.playlist.hd_drag.solve_cosine_coefs_for_hd_drag#
- iqm.pulse.playlist.hd_drag.solve_cosine_coefs_for_hd_drag(number_of_suppressed_freqs)#
Solve cosine coefficients of the basis envelope given the number of suppressed frequencies.
The cosine coefficients \(\{d_k\}_{k=1}^{K+1}\) define the basis envelope as \(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]\).