...
Here is an example of how to create a pulse consisting of a simple ramp stimulus. There are a number of ways to approach parameterizing a given type of pulse. Shown here is a somewhat elaborate example. Note, the sampleRate field is optionally specified , for any analytic pulse ('equation', 'distribution', 'trigonometric', etc) the sampleRate may be safely modified later, to conform to the settings in the hardware. For literally defined pulses, the sampleRate can be changed later, but it will be up/down-sampled accordingly.
...