stimulus.ramp_lim

stimulus.ramp_lim(tstart, tstop, ampstart, ampmax, duration, dt, printslope=False)[source]

Create a ramp waveform with bounds values

Parameters:
  • ampstart (float) – initiale amplitude of the waveform, in uA

  • ampmax (float) – final amplitude of the waveform, in uA

  • tstart (float) – starting time of the waveform, in ms

  • tmax (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

  • printslope (bool, optional) – if True, the value of the slope is printed on the prompt