Return a gaussian modulated sinusoid: exp(-a t^2) exp(1j*2*pi*fc)
If retenv is non-zero, then return the envelope (unmodulated signal). Otherwise, return the real part of the modulated sinusoid.
Inputs:
t – Input array. fc – Center frequency (Hz). bw – Fractional bandwidth in frequency domain of pulse (Hz). bwr – Reference level at which fractional bandwidth is calculated (dB). tpr – If t is ‘cutoff’, then the function returns the cutoff time for when the
pulse amplitude falls below tpr (in dB).retquad – Return the quadrature (imaginary) as well as the real part of the signal retenv – Return the envelope of th signal.