xopen("set_synapse_NMDA.hoc")
xopen("set_synapse_caL.hoc")
xopen("set_synapse_caL13.hoc")
xopen("set_synapse_kir.hoc")
xopen("set_synapse_can.hoc")
xopen("set_synapse_caq.hoc")
xopen("set_synapse_naf.hoc")
xopen("set_synapse_ER.hoc")
mu=1
forsec "soma"{
insert caL
insert caL13
insert can
insert caq
insert kir
insert naf
for (x,0) { // skip the nodes at 0 and 1
//setpointer mu_caL(x), mu
setpointer mu_caL(x), DAsyn[0].msg
setpointer mu_caL13(x), DAsyn[0].msg
setpointer mu_can(x), DAsyn[0].msg
setpointer mu_caq(x), DAsyn[0].msg
setpointer mu_kir(x), DAsyn[0].msg
setpointer mu_naf(x), DAsyn[0].msg
}
}