def right_sample(continuous_pulse: Callable, duration: int, *args, **kwargs) -> np.ndarray:
times = np.arange(<NUM_LIT:1>, duration+<NUM_LIT:1>)<EOL>return continuous_pulse(times, *args, **kwargs)<EOL>
Sampling strategy for decorator.
    Args:
        continuous_pulse: Continuous pulse function to sample.
        duration: Duration to sample for.
        *args: Continuous pulse function args.
        **kwargs: Continuous pulse function kwargs.