neat.NeuronCompartmentTree.add_shunt

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

Adds a static conductance at a given location

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

  • g (float) – The conductance of the shunt (uS)

  • e_r (float) – The reversal potential of the shunt (mV)