neat.NeuronSimTree.addOUClamp

NeuronSimTree.addOUClamp(loc, tau, mean, stdev, delay, dur, seed=None)[source]

Injects a Ornstein-Uhlenbeck current at a given lcoation

Parameters
  • loc (dict, tuple or neat.MorphLoc) – The location of the current.

  • tau (float) – Time-scale of the OU process (ms)

  • mean (float) – Mean of the OU process (nA)

  • stdev (float) – Standard deviation of the OU process (nA)

  • delay (float) – The delay of current onset from the start of the simulation (ms)

  • dur (float) – The duration of the current input (ms)

  • seed (int, optional) – Seed for the random number generator