def sin(times: np.ndarray, amp: complex, freq: float, phase: float = <NUM_LIT:0>) -> np.ndarray:
return amp*np.sin(<NUM_LIT:2>*np.pi*freq*times+phase).astype(np.complex_)<EOL>
Continuous cosine wave.

    Args:
        times: Times to output wave for.
        amp: Pulse amplitude.
        freq: Pulse frequency, units of 1/dt.
        phase: Pulse phase.