Not sure how to do that with the MRF.
Code: Select all
//CAVE: check for parameter-settings in loaded sessions
na_ais = 7000
na_soma = 500
vShift_na = 10 // affecting activation and inactivation
vShift_inact_na = 10
vShift_nax = 10
vShift_inact_nax = 10
Kv_soma = 100
Kv1_ais = 2000
Kv1_soma = 100
vShift_Kv1 = 10
vShift_inact_Kv1 = -15
Kv7_soma = 1
Kv7_ais = 7
// ----------------------------------------------------------------------------
// Initialisation of passive and active properties, spine scaling, Rm and Cm
//-----------------------------------------------------------------------------
proc init_channels() {
//soma
soma {nseg=9}
soma {
insert na gbar_na = na_soma
insert Kv gbar_Kv = Kv_soma
insert Kv7 gbar_Kv7 = Kv7_soma
insert Kv1 gbar_Kv1 = Kv1_soma
}
//AIS
axon[0] {
nseg=21
insert nax gbar_nax(0:0.4) = 0:na_ais
gbar_nax(0.4:1) = na_ais:na_ais
insert na gbar_na(0:0.2) = na_soma:5000
gbar_na(0.2:0.4) = 5000:0
insert Kv1 axon.gbar_Kv1(0:1)= Kv1_soma:Kv1_ais
insert Kv7 axon.gbar_Kv7(0:0.4) = Kv7_soma:Kv7_soma
axon.gbar_Kv7(0.4:1) = Kv7_soma:Kv7_ais
}