def gaussian_deriv(times: np.ndarray, amp: complex, center: float, sigma: float,<EOL>ret_gaussian: bool = False) -> np.ndarray:
gauss, x = gaussian(times, amp=amp, center=center, sigma=sigma, ret_x=True)<EOL>gauss_deriv = -x/sigma*gauss<EOL>if ret_gaussian:<EOL><INDENT>return gauss_deriv, gauss<EOL><DEDENT>return gauss_deriv<EOL>
Continuous unnormalized gaussian derivative pulse.

    Args:
        times: Times to output pulse for.
        amp: Pulse amplitude at `center`.
        center: Center (mean) of pulse.
        sigma: Width (standard deviation) of pulse.
        ret_gaussian: Return gaussian with which derivative was taken with.