Page 1 of 1

Graphic and displaying synaptic weights

Posted: Fri Apr 02, 2010 11:43 am
by psychic
Hi
I am using Izh.hoc cells but I think the issue applies to NetCon in general.
Simply, how do I graph synaptic weights? What options does Neuron offer in displaying weights?

Thanks

Re: Graphic and displaying synaptic weights

Posted: Fri Apr 02, 2010 1:11 pm
by ted
Weights are just like any other variables. Assuming that nc is an objref that points to a NetCon, these statements

Code: Select all

objref g
g = new Graph()
graphList[0].append(g) // update g at every time step
g.addexpr("nc.weight")
create a graph that will display nc.weight throughout a simulation.