neat.NeuronCompartmentTree.add_ou_clamp

NeuronCompartmentTree.add_ou_clamp(loc_idx, *args, **kwargs)[source]

Injects a Ornstein-Uhlenbeck current at a given lcoation

Parameters:
  • loc (int, 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