Hi Marcel,
First - sincere apologies for the delayed response!
Second - Happy New Year to everyone!
Third - thanks for your response and for the Brian library - although I am still learning the ropes, it is a very good tool for exploratory purposes and the documentation is great. Although I am a bit puzzled by the absence of many features of Brian1 in Brian2 - such as the library of synapses, statistics tool etc. For eg. had to figure out why the alpha synapse takes the form of two differential equations (the one for "y" yields an exponential curve when plotted, and the one for x is indeed an alpha function).
So I followed your suggestion to pare things down to a single neuron to see the behaviour of the equations. Using the form I mentioned previously, and without any noise or bias currents, the neuron's membrane potential remains at its rest value. If I add another neuron to it and connect it properly using a synapse (and increment the variable y such that y--> y+ w) it still isn't sufficient to get either to spike. However, using the SpikeGeneratorgroup object I delivered an input to this two-neuron system at around 400 ms of a 1000 ms run, and found that there was reliable and coordinated spiking for this event.
However, what I wanted was both spontaneous activity as well as stimulus-driven activity, and for periods of spontaneous coordination etc.
So I looked around the Brian2 documentation for examples on the use of noise, as well as oscillatory behaviours etc, and then played with adding the white noise variable to either a) the differential equation for membrane potential OR b) the second equation for the alpha synpase, describing variable y.
I also introduced a constant bias component to Vm and multiplied the synaptic weights by exp(1) (yes, I assume a to be 1 in this case).
so the equations are:
dV/dt = (- (V-vrest) + x + bias + noise) / tau: volt
dx/dt = (y-x)/tau_syn : volt
dy/dt = -y/tau_syn : volt
bias = constant input in mV
noise = sigma*sqrt(tau)*xi
w_excitation = w_exc*exp(1)
When presynaptic neuron spikes: y --> y + w_excitation
This yielded expected spiking patterns both in the individual and 2-neuron cases, as well as the entire column that I'd mentioned earlier (where there is interplay between excitation and inhibition).
Are there any computational neuroscience courses /tutorials which use Brian2 as a pedagogic tool?
Thanks again for a valuable resource and for your helpful comments!
Best
Anand