Hi,
Playing around with the ion_style command, I found that for certain simulation the ion_style for ca_ion was set as 247.
According to the documentation (http://www.neuron.yale.edu/neuron/stati ... #ion_style), I was expecting it to be 119 (3,2,1,1,1). As 247 = 119 + 128, the highest bit (128) was also set to 1, but this bit is not referred at all in the help files. What is its meaning (if any)?
Thanks.
Highest bit in ion_style
The underlying bitmap is
So the documentation needs to be fixed to read:
The oldstyle value is previous internal setting of c_style + 4*cinit + 8*e_style + 32*einit + 64*eadvance + 128*ciwrite + 256*cowrite
with the proviso that the last two bits cannot be set by the user, or else I need to change the code so that the high two bits are masked out.
Code: Select all
03 concentration unused, CONST, DEP, STATE
04 initialize concentrations
030 reversal potential unused, CONST, DEP, STATE
040 initialize reversal potential
0100 calc reversal during fadvance
0200 ci being written by a model
0400 co being written by a model
The oldstyle value is previous internal setting of c_style + 4*cinit + 8*e_style + 32*einit + 64*eadvance + 128*ciwrite + 256*cowrite
with the proviso that the last two bits cannot be set by the user, or else I need to change the code so that the high two bits are masked out.