If I understand the question correctly, you want to connect neurons with specific connectivity patterns.
The default connection pattern of nest.Connect
is "all_to_all".
More details about the available patterns are detailed in the Connect
documentation.
You can also see the available rules by calling nest.ConnectionRules()
.
If you're using ipython or jupyter, you can get the docstring locally by typing nest.Connect?
.
EDIT: to change synapse type (how it transmits incoming signals), please see the "synapse types" documentation.
You can find examples for tsodyks or quantal_stdp synapses.
An example with your populations would be:
# connect populations with depressing synapses
dep_params = {"U": 0.67, "u": 0.67, 'x': 1.0, "tau_rec": 450.0,
"tau_fac": 0.0, "weight": 250.}
nest.CopyModel("tsodyks_synapse", "dep_syn", syn_param)
nest.Connect(neuronpop1, neuronpop2, syn_spec="dep_syn")
for synapses where close subsequent spikes would have less and less effect on the post-synaptic neuron.