Inconsistent results with MechanismStandard

Anything that doesn't fit elsewhere.
Post Reply
Posts: 22
Joined: Mon Jul 07, 2014 1:12 pm

Inconsistent results with MechanismStandard

Post by lcampagn »

I am trying to understand how to use MechanismStandard, but it is returning inconsistent results in some situations. For example:

Code: Select all

from neuron import h
#s = h.Section()
ms = h.MechanismStandard('k_ion', 1)
print ms.count() 
As written, the output is 3. If I uncomment the line that creates the section, then the output is 0. If I further uncomment the `insert` line, then the output is 1.
Is this the intended behavior?

Post Reply