I've built a network model of two neurons. I would like to insert two graded synapses that have identical parameters and then optimize the model. I wrote a code to set the parameters of the two graded synapses, syn1 and syn2, equal. When I run the program, it doesn't give me any error, however, the parameters of syn1 and syn2 do not change if I change any of the parameters, i.e. pmaxg, pmtaufall. So, I'm hoping if anybody could look at the code.
Code: Select all
pmaxg = 1
pmtaufall = 1
pmtaurise = 1
phtaufall = 1
phtaurise = 1
pkm = 10
plm = 10
pkh = 10
plh = 10
proc init() {
syn1 {
maxg = pmaxg
mtaufall = pmtaufall
mtaurise = pmtaurise
htaufall = phtaufall
htaurise = phtaurise
km = pkm
lm = plm
kh = pkh
lh = plh
}
syn2 {
maxg = pmaxg
mtaufall = pmtaufall
mtaurise = pmtaurise
htaufall = phtaufall
htaurise = phtaurise
km = pkm
lm = plm
kh = pkh
lh = plh
}
finitialize(v_init)
if (cvode.active()) {
cvode.re_init()
} else {
fcurrent()
}
frecord_init()
}
Yamin