neat.NeuronCompartmentTree.add_i_clamp

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

Injects a DC current step at a given lcoation

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

  • amp (float) – The amplitude of the current (nA)

  • delay (float) – The delay of the current step onset (ms)

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