Izhikevich model: WATCH statement
Posted: Fri Sep 28, 2007 7:41 am
I am interested in adopting izhikevich model in my neuron network as an artificial cell.
Reading the .mod file from the ModelDB site, I have some problem understanding the watch statement (especially what is the 2 after the parenthesis). I understant that it detects the incoming threshold and i guess that then it turns the flag to 2 (is this right?).
How can I use the model as an artificial cell?
PS: I have read the previous messages in the Izhikevich model
Reading the .mod file from the ModelDB site, I have some problem understanding the watch statement (especially what is the 2 after the parenthesis). I understant that it detects the incoming threshold and i guess that then it turns the flag to 2 (is this right?).
How can I use the model as an artificial cell?
PS: I have read the previous messages in the Izhikevich model
Code: Select all
NET_RECEIVE (w) { : The contents of the NET_RECEIVE block specify what happens when an event is delivered to a point process or artificial spiking neuron.
if (flag == 1) {
WATCH (vv>thresh) 2
} else if (flag == 2) {
net_event(t)
vv = c
u = u+d
} else { : synaptic activation
gsyn = gsyn+w
}
}