Page 1 of 1

NetStim/ExpSyn

Posted: Mon May 11, 2009 9:33 pm
by jp1
I am having difficulty understanding exactly how NetStim works. (I've searched this forum for all netstim posts, read the programmer's reference and attempted to understand the source code, but I'm still lacking clarity. Thank you in advance for humoring my question.)

Netstim generates events that Netcon conducts to a target -- the ExpSyn associated with the cell. How does the ExpSyn NET_RECEIVE change the conductance? Does the state_discontinuity function simply sum the conductance with the weight parameter from NetCon?

Code: Select all

NET_RECEIVE(weight (uS)) {
	state_discontinuity(g, g + weight)
}

Re: NetStim/ExpSyn

Posted: Tue May 12, 2009 8:42 am
by ted
Arrival of an event causes a sudden change in g, where the change equals weight.

state_discontinuity(varname, expression)
inside a NET_RECEIVE block is equivalent to the assignment statement
varname = expression
Please note that state_discontinuity is deprecated--this means that it still works, but it should not be used in new program development.