Iḿ working on a network model of cells of one template. Each cell is connected by gaps and synapses. Then a part of the cells will be stimulated in order to make the whole network firing synchronously. The way of connecting with synapses is shown in the code above:
Code: Select all
nZellen = 100 // number of cells in network
syndel = 1 // synaptic delay
for i = 0, nZellen-1 {
Zellen[i] = new singing_fish_cell() // singing_fish_cell() is the template of one cell one cell has 14 dends thats why k is from 0 to 14
}
proc Synapsen() {local startZelle, endZelle, k, d
//cancel all synapses buillt before and start a new connection
for j = 0, nZellen-1 {
Zellen[j].nclist.remove_all()
}
// theese vectors for putting them in a .dat file
syn_start = new Vector()
syn_end = new Vector()
dend_end = new Vector()
syn_del = new Vector()
// til here
//define start and end of synapse
for i = 0,nSynapsen-1 {
startZelle = int(r.uniform(0,nZellen))
endZelle = int(r.uniform(0,nZellen))
k = int(r.uniform(0,14)) // random value for the dends
d = int(r.uniform(0,syndel)) // if syndel is set as 1 d will always be 0
if (startZelle == endZelle) {
endZelle = endZelle + 1
}
if (endZelle >= nZellen) {
endZelle = 0
}
// Using NetCon and building synapses with random values
Zellen[endZelle].dend[k] syn[i] = new ExpSyn(0)
Zellen[startZelle].axon Zellen[endZelle].nclist.append(new NetCon(&v(1), syn[i], threshold, d, weight))
// writing the random numbers in the vectors for .dat file
syn_start.append(startZelle)
syn_end.append(endZelle)
dend_end.append(k)
syn_del.append(d)
// til here
}
}
Can you imagine what is going on and why the synapses seem to have no influence in this network.
René