I am working on explaining how a particular '.mod' file is structured and works to a colleague.
I have written the following, with the help of a document from Hines, but get stuck when I get to describing the procedures block and how the "rates(v)" relates to that in the DERIVATIVES block. What does this rates(v) statement do? I presume it has some reference to the fact that the gating variables have voltage-dependent rates attached to it, but what does it play in the setting of the procedure and derivatives block?
Any corrections and/or additions to what I have written would be most useful :) also feel free to comment on my grammar!
Thanks,
Linford
****** (EXTRACT FROM) THE DOCUMENT THUS FAR ********
...
Each block of code within the file has its own title, for example the STATE- block, which has a functional and defining meaning, as well as a particular role in describing the said mechanism. Indeed, the block
Code: Select all
STATE {n l}
The BREAKPOINT block is the main computational block in the model; any states are integrated by the SOLVE- command. The BREAKPOINT block in our file contains the statements
Code: Select all
gka = gkabar*n*l
ik = gka*(v-ek)
The BREAKPOINT block contains state variables $n$ and $l$, which are to be solved within this block, but the definition and solution of which are yet unknown. These features are described in the DERIVATIVES and PROCEDURES blocks.
Statements, such as the voltage-dependent states of activation and inactivation gates, are governed by differential equations. The DERIVATIVE block is used to assign values to the derivatives of such states. In this file, the block looks as follows:
Code: Select all
DERIVATIVE states {
rates(v)
n' = (ninf - n)/taun
l' = (linf - l)/taul