I'd like to ask your opinion on a bit of code relative to changing of parameters in the course of simulation.
Code: Select all
//this is the procedure
proc LastAxon_spike() {
counter = counter + 1
if (counter > 3) {
forsec "axon" {
gbar_na16 = gbar_na16 * 1.15
gbar_kv2_gp = gbar_kv2_gp * 1.15
gbar_kv4_gp = gbar_kv4_gp * 1.15
gbar_sk_dop = gbar_sk_dop * 1.0
}
}
}
Code: Select all
netconAxon.record("LastAxon_spike()")
Best regards,
Eleftheria