neat.CompartmentTree.addCurrent

CompartmentTree.addCurrent(channel, e_rev)[source]

Add an ion channel current to the tree

Parameters
  • channel_name (string) – The name of the channel type

  • e_rev (float) – The reversal potential of the ion channel [mV]