Page 1 of 1

TABLE command

Posted: Wed Jan 30, 2008 1:02 pm
by patoorio
Hi,

I usually see the TABLE command, such as in

Code: Select all

PROCEDURE rate(cai(mM)) { 
TABLE zinf, tauz FROM 0 TO 0.01 WITH 300 
UNITSOFF 
zinf = cai*cai*cai*cai / (cai*cai*cai*cai + 8.1e-15) 
(...)
tauz = 1 - (186.67 * cai) 
(...)
UNITSON 
}
(This is a random example that I picked from elsewhere with non-relevant code removed)

I have not found any reference to it in the NMODL documentation, and the forum search only results in examples of it, with question unrelated to the command itself.
What does it do?

Regards.

Re: TABLE command

Posted: Wed Jan 30, 2008 5:28 pm
by csh
patoorio wrote: I have not found any reference to it in the NMODL documentation, and the forum search only results in examples of it, with question unrelated to the command itself.
What does it do?
It's basically a look-up table that may help to speed up simulations:
http://www.neuron.yale.edu/neuron/stati ... html#Table
Hope that helps,
Christoph