B_B=0, B_C=1, B_vhalf=0.03, B_vslope=-0.012) HCN1_Y_params=[] HCN2param = ChannelSettings(Xpow=1, Ypow=0, Zpow=0, Erev=hcnrev, name='HCN2') HCN2_X_params = AlphaBetaChannelParams(A_rate=4.051659010859005, A_B=0.0, A_C=1, A_vhalf=0.09511840967666049, A_vslope=0.01, B_rate=2.7011060072393365, B_B=0.0, B_C=1, B_vhalf=-0.02488159032333951, B_vslope=-0.012) HCN2_Y_params=[] Channels = NamedDict( 'Channels', KDr = TypicalOneD(KDrparam, KDr_X_params, KDr_Y_params), Kv3 = TypicalOneD(Kv3param, Kv3_X_params, Kv3_Y_params), KvF = TypicalOneD(KvFparam, KvF_X_params, KvF_Y_params), KvS = TypicalOneD(KvSparam, KvS_X_params, KvS_Y_params), HCN1 = TypicalOneD(HCN1param,HCN1_X_params, []), HCN2 = TypicalOneD(HCN2param,HCN2_X_params, []), NaF = TypicalOneD(NaFparam, Na_m_params, Na_h_params), )
SKparam = ChannelSettings(Xpow=0, Ypow=0, Zpow=1, Erev=krev, name='SKCa') SK_Z_params = ZChannelParams(Kd=0.00035, power=4.6, tau=0.002, taumax=0.0037928, tau_power=4.3, cahalf=0.002703) # BK channel BKparam = ChannelSettings(Xpow=1, Ypow=0, Zpow=0, Erev=krev, name='BKCa') BK_X_params = [ BKChannelParams(alphabeta=480, K=0.18, delta=-0.84), BKChannelParams(alphabeta=280, K=0.011, delta=-1.0) ] Channels = NamedDict( 'Channels', KDr=TypicalOneD(KDrparam, KDr_X_params, KDr_Y_params), Kv3=TypicalOneD(Kv3param, Kv3_X_params, Kv3_Y_params), KvF=TypicalOneD(KvFparam, KvF_X_params, KvF_Y_params), KvS=TypicalOneD(KvSparam, KvS_X_params, KvS_Y_params), HCN1=TypicalOneD(HCN1param, HCN1_X_params, []), HCN2=TypicalOneD(HCN2param, HCN2_X_params, []), NaF=TypicalOneD(NaFparam, Na_m_params, Na_h_params, Na_s_params), NaS=TypicalOneD(NaSparam, NaS_m_params, NaS_h_params, NaS_s_params), Ca=TypicalOneD(Caparam, Ca_X_params, [], [], calciumPermeable=True), SKCa=TypicalOneD(SKparam, [], [], SK_Z_params, calciumDependent=True), BKCa=TwoD(BKparam, BK_X_params, calciumDependent=True), )
A_C=-1, A_vhalf=30.013e-3, A_vslope=-7.2e-3, B_rate=3.722e-3 * 2.14e6, B_B=0.124 * 2.14e6, B_C=-1, B_vhalf=30.013e-3, B_vslope=7.2e-3) Na_h_params = AlphaBetaChannelParams( A_rate=(45.013e-3 + 15.0e-3) * 0.03 * 2.14e6, A_B=0.03 * 2.14e6, A_C=-1, A_vhalf=45.013e-3 + 15e-3, A_vslope=3.5e-3, B_rate=-(45.013e-3 + 15e-3) * 0.01 * 2.14e6, B_B=-0.01 * 2.14e6, B_C=-1, B_vhalf=45.013e-3 + 15e-3, B_vslope=-3.5e-3) naFparams = ChannelSettings(Xpow=3, Ypow=1, Zpow=0, Erev=55.0e-3, name='NaF') Channels = NamedDict( 'Channels', Kdr=TypicalOneD(kDrparams, kDr_X_params, kDr_Y_params), Kadist=TypicalOneD(KAdistparams, KAdist_m_params, KAdist_h_params), Kaprox=TypicalOneD(KAproxparams, KAprox_m_params, KAdist_h_params), Na=TypicalOneD(naFparams, Na_m_params, Na_h_params), )
CaCCparam = ChannelSettings(Xpow=0, Ypow=0, Zpow=1, Erev=clrev, name='CaCC') CaCC_Z_params = ZChannelParams(Kd=0.00183, power=2.3, tau=0.013, taumax=0, tau_power=0, cahalf=0) # Dictionary of "standard" channels, to create channels using a loop # NaF doesn't fit since it uses different prototype form # will need separate dictionary for BK Channels = NamedDict( 'Channels', Krp=TypicalOneD(Krpparam, Krp_X_params, Krp_Y_params), KaF=TypicalOneD(KaFparam, KaF_X_params, KaF_Y_params), KaS=TypicalOneD(KaSparam, KaS_X_params, KaS_Y_params), Kir=TypicalOneD(Kirparam, Kir_X_params, []), CaL12=TypicalOneD(CaL12param, CaL12_X_params, CaL12_Y_params, CDI_Z_params, calciumPermeable=True), CaL13=TypicalOneD(CaL13param, CaL13_X_params, CaL13_Y_params, CDI_Z_params, calciumPermeable=True), CaN=TypicalOneD(CaNparam, CaN_X_params,
B_vhalf=0.0, B_vslope=40e-3) Krp_Y_params = TauInfMinChannelParams(T_min=0.287, T_vdep=4.16, T_vhalf=-0.042, T_vslope=0.013, SS_min=0.13, SS_vdep=0.87, SS_vhalf=-0.056, SS_vslope=0.014) Krpparam = ChannelSettings(Xpow=2, Ypow=1, Zpow=0, Erev=krev, name='Krp') SK_Z_params = ZChannelParams(Kd=0.00035, power=4.6, tau=0.002, taumax=0.0037928, tau_power=4.3, cahalf=0.002703) SKparam = ChannelSettings(Xpow=0, Ypow=0, Zpow=1, Erev=krev, name='SKCa') Channels = NamedDict('Channels', Na=TypicalOneD(NaSparam, Na_m_params, Na_h_params), K=TypicalOneD(KSparam, K_n_params, None), Krp=TypicalOneD(Krpparam, Krp_X_params, Krp_Y_params), SKCa=TypicalOneD(SKparam, [], [], SK_Z_params, calciumDependent=True))
BKparam = ChannelSettings(Xpow=1, Ypow=0, Zpow=0, Erev=krev, name='BKCa') BK_X_params=[BKChannelParams(alphabeta=480, K=0.18, delta=-0.84), BKChannelParams(alphabeta=280, K=0.011, delta=-1.0)] #These CDI params can be used with every channel, make ZpowCDI=2 #If ZpowCDI=0 the CDI will not be used, power=-4 is to transform #(Ca/Kd)^pow/(1+(Ca/Kd)^pow) to 1/(1+(ca/Kd)^-pow) CDI_Z_params = ZChannelParams(Kd = 0.12e-3, power = -4, tau = 142e-3) #Dictionary of "standard" channels, to create channels using a loop #NaF doesn't fit since it uses different prototype form #will need separate dictionary for BK Channels = NamedDict( 'Channels', Krp = TypicalOneD(Krpparam, Krp_X_params,Krp_Y_params), KaF = TypicalOneD(KaFparam, KaF_X_params, KaF_Y_params), KaS = TypicalOneD(KaSparam, KaS_X_params, KaS_Y_params), Kir = TypicalOneD(Kirparam, Kir_X_params, []), #CaL12 = TypicalOneD(CaL12param,CaL12_X_params, CaL12_Y_params, CDI_Z_params, calciumPermeable=True), #CaL13 = TypicalOneD(CaL13param, CaL13_X_params,CaL13_Y_params, CDI_Z_params, calciumPermeable=True), #CaN = TypicalOneD(CaNparam, CaN_X_params, CaN_Y_params, CDI_Z_params, calciumPermeable=True), #CaR = TypicalOneD(CaRparam, CaR_X_params, CaR_Y_params, CDI_Z_params, calciumPermeable=True), #CaT = TypicalOneD(CaTparam,CaT_X_params, CaT_Y_params, [], calciumPermeable=True), #SKCa = TypicalOneD(SKparam, [], [], SK_Z_params, calciumDependent=True), NaF = TypicalOneD(NaFparam, Na_m_params, Na_h_params), #BKCa = TwoD(BKparam, BK_X_params, calciumDependent=True), )
B_vslope=80e-3) KSparam = ChannelSettings(Xpow=4, Ypow=0, Zpow=0, Erev=krev, name='K') Krp_X_params = AlphaBetaChannelParams(A_rate=16, A_B=0, A_C=0.0, A_vhalf=0, A_vslope=-20e-3, B_rate=2.4, B_B=0.0, B_C=0.0, B_vhalf=0.0, B_vslope=40e-3) Krp_Y_params = TauInfMinChannelParams(T_min=0.287, T_vdep=4.16, T_vhalf=-0.042, T_vslope=0.013, SS_min=0.13, SS_vdep=0.87, SS_vhalf=-0.056, SS_vslope=0.014) Krpparam = ChannelSettings(Xpow=2, Ypow=1, Zpow=0, Erev=krev, name='Krp') Channels = NamedDict('Channels', Na=TypicalOneD(NaSparam, Na_m_params, Na_h_params), K=TypicalOneD(KSparam, K_n_params, None), Krp=TypicalOneD(Krpparam, Krp_X_params, Krp_Y_params))
Ka_X_params = TauInfMinChannelParams(T_min=1e-3, T_vdep=1e-3, T_vhalf=0.07, T_vslope=-0.013, SS_min=0, SS_vdep=1, SS_vhalf=-0.045, SS_vslope=-0.013) Ka_Y_params = TauInfMinChannelParams(T_min=0.014, T_vdep=0, T_vhalf=37.0e-3, T_vslope=5.0e-3, SS_min=0, SS_vdep=1, SS_vhalf=-0.077, SS_vslope=0.008) Kaparam = ChannelSettings(Xpow=4, Ypow=1, Zpow=0, Erev=carev, name='Ka') #Dictionary of "standard" channels, to create channels using a loop #NaF doesn't fit since it uses different prototype form #will need separate dictionary for BK Channels = NamedDict( 'Channels', Ka=TypicalOneD(Kaparam, Ka_X_params, Ka_Y_params), Kv13=TypicalOneD(Kv13param, Kv13_X_params, []), Kv3132=TypicalOneD(Kv3132param, Kv3132_X_params, []), NaF=TypicalOneD(NaFparam, NaF_X_params, NaF_Y_params), )
A_C=-1.0, A_vhalf=0.11, A_vslope=17e-3, B_rate=20, B_B=0, B_C=0.0, B_vhalf=0.0, B_vslope=-30.0e-3) #Dictionary of "standard" channels, to create channels using a loop #NaF doesn't fit since it uses different prototype form #will need separate dictionary for BK Channels = NamedDict( 'Channels', KaF=TypicalOneD(KaFparam, KaF_X_params, KaF_Y_params), KaS=TypicalOneD(KaSparam, KaS_X_params, KaS_Y_params), Kir=TypicalOneD(Kirparam, Kir_X_params, []), CaL12=TypicalOneD(CaL12param, CaL12_X_params, CaL12_Y_params, calciumPermeable=True), CaL13=TypicalOneD(CaL13param, CaL13_X_params, CaL13_Y_params, calciumPermeable=True), CaR=TypicalOneD(CaRparam, CaR_X_params, CaR_Y_params, calciumPermeable=True), NaF=TypicalOneD(NaFparam, Na_m_params, Na_h_params),
Na_h_params = AlphaBetaChannelParams(A_rate=70, A_B=0.0, A_C=0.0, A_vhalf=0.0 - EREST_ACT, A_vslope=0.02, B_rate=1000.0, B_B=0.0, B_C=1.0, B_vhalf=-30e-3 - EREST_ACT, B_vslope=-0.01) NaSparam = ChannelSettings(Xpow=3, Ypow=1, Zpow=0, Erev=narev, name='Na') K_n_params = AlphaBetaChannelParams(A_rate=-1e4 * (-10e-3 - EREST_ACT), A_B=-1e4, A_C=-1.0, A_vhalf=-10e-3 - EREST_ACT, A_vslope=-10e-3, B_rate=0.125e3, B_B=0.0, B_C=0.0, B_vhalf=0.0 - EREST_ACT, B_vslope=80e-3) KSparam = ChannelSettings(Xpow=4, Ypow=0, Zpow=0, Erev=krev, name='K') Channels = NamedDict('Channels', Na=TypicalOneD(NaSparam, Na_m_params, Na_h_params), K=TypicalOneD(KSparam, K_n_params, None))
B_vslope=22.222e-3) Kv3132param = ChannelSettings(Xpow=2, Ypow=0, Zpow=0, Erev=krev, name='Kv3132') Ka_X_params = TauInfMinChannelParams(T_min=1e-3, T_vdep=1e-3, T_vhalf=0.07, T_vslope=-0.013, SS_min=0, SS_vdep=1, SS_vhalf=-0.045, SS_vslope=-0.013) Ka_Y_params = TauInfMinChannelParams(T_min=0.014, T_vdep=0, T_vhalf=37.0e-3, T_vslope=5.0e-3, SS_min=0, SS_vdep=1, SS_vhalf=-0.077, SS_vslope=0.008) Kaparam = ChannelSettings(Xpow=4, Ypow=1, Zpow=0, Erev=carev, name='Ka') Channels = NamedDict( 'Channels', KvF=TypicalOneD(KvFparam, KvF_X_params, KvF_Y_params), KvS=TypicalOneD(KvSparam, KvS_X_params, KvS_Y_params), NaF=TypicalOneD(NaFparam, NaF_X_params, NaF_Y_params), Kv3132=TypicalOneD(Kv3132param, Kv3132_X_params, []), )