stimulus.ramp
- stimulus.ramp(slope, start, duration, dt, bounds=(0, inf), printslope=False)[source]
Create a ramp waveform with slop value
- Parameters:
slope (float) – slope of the waveform, in uA.ms-1
start (float) – starting time of the waveform, in ms
duration (float) – duration of the waveform, in ms
dt (float) – sampling time period to generate the sinusoidal shape
bounds (tuple) – boundary vaues of the ramp signal
printslope (bool, optional) – if True, the value of the slope is printed on the prompt