SineClamp

Contents

SineClamp#

class braincell.SineClamp(amplitude, frequency, phase=0.0, offset=<factory>, delay=<factory>, duration=<factory>)[source]#

Sinusoidal current clamp.

Parameters:
  • amplitude (Any) – Peak amplitude.

  • frequency (Any) – Oscillation frequency.

  • phase (float) – Phase offset in radians.

  • offset (Any) – Constant offset added to the sine.

  • delay (Any) – Absolute start time.

  • duration (Any) – Length of the active window. The clamp returns zero before delay and after delay + duration.