stimulus.pulse

stimulus.pulse(start, value, duration=0)[source]

Create pulse shape signal samples

Parameters:
  • value (float) – value of the pulse

  • start (float) – starting time of the pulse

  • duration (float) – duration of the pulse, optional and by default equal to zero, if non zero value, a point is added at the end of the pulse with the previous value